Commit a3292f76 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

Bug 1784778: Hiding peer block instructions when printing page



Also fixing the date when sending the peer assessment notification

behatnotneeded

Change-Id: I4d29b43f5f95131ce0b2a596d18dec2c76854f3a
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 3ef35932
......@@ -941,7 +941,7 @@ class ActivityTypeArtefactPeerassessmentAssessmentfeedback extends ActivityTypeP
$title = $viewrecord->title;
$this->urltext = $title;
$body = $assessment->get('description');
$posttime = strftime(get_string('strftimedaydatetime'), strtotime($assessment->get('ctime')));
$posttime = strftime(get_string('strftimedaydatetime'), $assessment->get('ctime'));
// Internal
$this->message = strip_tags(str_shorten_html($body, 200, true));
......
......@@ -42,7 +42,7 @@
</div>
<div class="modal-body">
{if $instructions}
<div class="last form-group collapsible-group small-group">
<div class="last form-group collapsible-group small-group peerinstructions">
<fieldset class="pieform-fieldset collapsible collapsible-small">
<legend>
<h4>
......
......@@ -99,4 +99,9 @@
height: 256mm;
outline: 2cm #FFEAEA solid;
}
.peerinstructions,
.pageinstructions {
display: none;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment