Commit 479fe597 authored by Tobias Zeuch's avatar Tobias Zeuch
Browse files

Add page title to new access notification subject



Bug 1318959: Add the shared pages title to the subject of the notification
for the new page access

Change-Id: I0d33442d707ac4554d79ac248075077763818475
Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@kit.edu>
parent 566a610d
......@@ -67,7 +67,7 @@ $string['newcontactus'] = 'New contact us';
$string['newviewaccessmessage'] = 'You have been added to the access list for the page "%s" by %s';
$string['newviewaccessmessagenoowner'] = 'You have been added to the access list for the page "%s"';
$string['newviewaccesssubject'] = 'New page access';
$string['newviewaccesssubject1'] = 'New access to page "%s"';
$string['viewmodified'] = 'has changed their page';
$string['ongroup'] = 'on group';
......
......@@ -1308,7 +1308,7 @@ class ActivityTypeViewaccess extends ActivityType {
}
public function get_subject($user) {
return get_string('newviewaccesssubject', 'activity');
return get_string('newviewaccesssubject1', 'activity', $this->title);
}
public function get_message($user) {
......
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