Merge branch 'MDL-56822-master' of git://github.com/cameron1729/moodle
[moodle.git] / message / output / popup / lib.php
index 6ab437b..a051f93 100644 (file)
@@ -47,6 +47,8 @@ function message_popup_render_navbar_output(\renderer_base $renderer) {
         $context = [
             'userid' => $USER->id,
             'urls' => [
+                'seeall' => (new moodle_url('/message/index.php'))->out(),
+                'writeamessage' => (new moodle_url('/message/index.php', ['contactsfirst' => 1]))->out(),
                 'preferences' => (new moodle_url('/message/edit.php', ['id' => $USER->id]))->out(),
             ],
         ];