From 8896d073e22a1ff049d89043ee65970b82189b5b Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 13 Mar 2020 17:02:52 +0800 Subject: [PATCH] MDL-67663 mod_forum: Designate forum grading landmark regions Adding the following landmark regions for easier keyboard navigation: * Forum grading navigation * User's forum posts * Forum grading panel --- mod/forum/lang/en/forum.php | 3 +++ mod/forum/templates/local/grades/local/grader/content.mustache | 2 +- mod/forum/templates/local/grades/local/grader/grading.mustache | 2 +- .../templates/local/grades/local/grader/navigation.mustache | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mod/forum/lang/en/forum.php b/mod/forum/lang/en/forum.php index baa4e462888..b6114d70712 100644 --- a/mod/forum/lang/en/forum.php +++ b/mod/forum/lang/en/forum.php @@ -299,6 +299,8 @@ $string['forum:exportdiscussion'] = 'Export whole discussion'; $string['forum:exportforum'] = 'Export forum'; $string['forum:exportownpost'] = 'Export own post'; $string['forum:exportpost'] = 'Export post'; +$string['forumgradingnavigation'] = 'Forum grading navigation'; +$string['forumgradingpanel'] = 'Forum grading panel'; $string['forumintro'] = 'Description'; $string['forum:managesubscriptions'] = 'Manage subscribers'; $string['forum:movediscussions'] = 'Move discussions'; @@ -729,6 +731,7 @@ $string['unsubscribeshort'] = 'Unsubscribe'; $string['useexperimentalui'] = 'Use experimental nested discussion view'; $string['usermarksread'] = 'Manual message read marking'; $string['usernavigation'] = 'User navigation'; +$string['usersforumposts'] = 'User\'s forum posts'; $string['unpindiscussion'] = 'Unpin this discussion'; $string['viewalldiscussions'] = 'View all discussions'; $string['viewparentpost'] = 'View parent post'; diff --git a/mod/forum/templates/local/grades/local/grader/content.mustache b/mod/forum/templates/local/grades/local/grader/content.mustache index 665399eadff..944fbe9ce2c 100644 --- a/mod/forum/templates/local/grades/local/grader/content.mustache +++ b/mod/forum/templates/local/grades/local/grader/content.mustache @@ -30,7 +30,7 @@ { } }} -
+
{{> mod_forum/local/grades/local/grader/module_content_placeholder }}
diff --git a/mod/forum/templates/local/grades/local/grader/grading.mustache b/mod/forum/templates/local/grades/local/grader/grading.mustache index 0e6030f665d..bf6831b1240 100644 --- a/mod/forum/templates/local/grades/local/grader/grading.mustache +++ b/mod/forum/templates/local/grades/local/grader/grading.mustache @@ -36,7 +36,7 @@ {{$drawerid}}grading-drawer-{{uniqid}}{{/drawerid}} {{$drawerclasses}}grader-grading-panel flex-shrink-0{{/drawerclasses}} {{$drawercontent}} -
+
diff --git a/mod/forum/templates/local/grades/local/grader/navigation.mustache b/mod/forum/templates/local/grades/local/grader/navigation.mustache index 7c2ccfb3699..44bf9428a11 100644 --- a/mod/forum/templates/local/grades/local/grader/navigation.mustache +++ b/mod/forum/templates/local/grades/local/grader/navigation.mustache @@ -34,7 +34,7 @@ "moduleName": "Chef the Forum" } }} -