Commit a5f795c1 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1796583: Making delete assessment email message better"

parents f88b9996 c7a8a1b1
......@@ -27,7 +27,7 @@ $string['assessmentremoved'] = 'Peer assessment deleted';
// peer assessment notifications
$string['deletednotificationsubject'] = 'Peer assessment on page "%s" deleted';
$string['deletedauthornotification'] = "Your peer assessment on page \"%s\" was deleted. You had written:\n%s";
$string['deletedauthornotification1'] = "Your peer assessor, %s, deleted their assessment on page \"%s\". They had written:\n%s";
$string['newassessmentnotificationsubject'] = 'New peer assessment on page "%s"';
$string['feedbacknotificationhtml'] = "<div style=\"padding: 0.5em 0; border-bottom: 1px solid #999;\"><strong>%s added a peer assessment on %s</strong><br>%s</div>
......@@ -782,9 +782,9 @@ function delete_assessment_submit(Pieform $form, $values) {
'args' => array($title),
'message' => (object) array(
'key' => 'deletedauthornotification',
'key' => 'deletedauthornotification1',
'section' => 'artefact.peerassessment',
'args' => array($title, html2text($assessment->get('description'))),
'args' => array(display_name($author), $title, html2text($assessment->get('description'))),
'urltext' => (object) array(
'key' => 'view',
Supports Markdown
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