MDL-56292 message: split up preferences templates

This commit is contained in:
Ryan Wyllie
2016-10-10 12:48:52 +08:00
committed by Mark Nelson
parent 5cdebf2d7e
commit df9986c87f
9 changed files with 581 additions and 295 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class core_message_renderer extends plugin_renderer_base {
$preferences = \core_message\api::get_all_message_preferences($processors, $providers, $user);
$notificationlistoutput = new \core_message\output\preferences\notification_list($processors, $providers,
$preferences, $user);
return $this->render_from_template('message/preferences_notifications_list',
return $this->render_from_template('message/notification_preferences',
$notificationlistoutput->export_for_template($this));
}