From 5548689ead64b57d43ac9bf4bd996380b0ff9049 Mon Sep 17 00:00:00 2001 From: Mathew May Date: Tue, 26 Nov 2019 10:46:23 +1300 Subject: [PATCH] MDL-67359 mod_forum: Relocate notification templates to reallign it --- .../output/icon_system_fontawesome.php | 1 + .../grades/local/grader/grading.mustache | 35 +++++++++--------- pix/i/gradingnotifications.png | Bin 0 -> 401 bytes pix/i/gradingnotifications.svg | 2 + 4 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 pix/i/gradingnotifications.png create mode 100644 pix/i/gradingnotifications.svg diff --git a/lib/classes/output/icon_system_fontawesome.php b/lib/classes/output/icon_system_fontawesome.php index 661f0bccfec..c9dca916837 100644 --- a/lib/classes/output/icon_system_fontawesome.php +++ b/lib/classes/output/icon_system_fontawesome.php @@ -243,6 +243,7 @@ class icon_system_fontawesome extends icon_system_font { 'core:i/grade_partiallycorrect' => 'fa-check-square', 'core:i/grades' => 'fa-table', 'core:i/grading' => 'fa-magic', + 'core:i/gradingnotifications' => 'fa-bell-o', 'core:i/groupevent' => 'fa-group', 'core:i/groupn' => 'fa-user', 'core:i/group' => 'fa-users', diff --git a/mod/forum/templates/local/grades/local/grader/grading.mustache b/mod/forum/templates/local/grades/local/grader/grading.mustache index 2d7b658b446..cb900d33ce4 100644 --- a/mod/forum/templates/local/grades/local/grader/grading.mustache +++ b/mod/forum/templates/local/grades/local/grader/grading.mustache @@ -98,6 +98,22 @@
{{> mod_forum/local/grades/local/grader/grade_placeholder }}
+

+ {{#pix}} i/gradingnotifications, core {{/pix}}{{#str}}notifications, core{{/str}} +

+
+ + + {{#helpicon}} + {{>core/help_icon}} + {{/helpicon}} +
@@ -105,22 +121,5 @@

-
-

-

{{#str}}notifications, core{{/str}}

-
- - - {{#helpicon}} - {{>core/help_icon}} - {{/helpicon}} -
-
{{/drawercontent}} -{{/core/drawer}} \ No newline at end of file +{{/core/drawer}} diff --git a/pix/i/gradingnotifications.png b/pix/i/gradingnotifications.png new file mode 100644 index 0000000000000000000000000000000000000000..bc1442585013098abbc25ee0cdb1815e029f56e7 GIT binary patch literal 401 zcmV;C0dD?@P);yo zA!|oTEJQ>21uggmO>DHYFcF;Hv00U@yEMjE-Z}SViVOdF#+a@#rn`)hoT3k$0DAx; zGKr$-wAE@&)2vDd{eFKJxN**1TWc%U+DaV9Bc;@>*1DGFSJHuV?#wyYZZ@04h4@ly z{VF2oKt1;dolZvq{(L?krNv3+Crq}WR4T0kZ|!z_mKG%0d$Cybas?u?2E3%p3-??o z6xMSE&bb + \ No newline at end of file