diff --git a/mod/assign/lang/en/assign.php b/mod/assign/lang/en/assign.php index 3a9b312cb1d..46d2d82dfc9 100644 --- a/mod/assign/lang/en/assign.php +++ b/mod/assign/lang/en/assign.php @@ -686,7 +686,6 @@ $string['viewfeedback'] = 'View feedback'; $string['viewfeedbackforuser'] = 'View feedback for user: {$a}'; $string['viewfullgradingpage'] = 'Open the full grading page to provide feedback'; $string['viewgradebook'] = 'View gradebook'; -$string['viewgrader'] = 'View Grader'; $string['viewgradingformforstudent'] = 'View grading page for student: (id={$a->id}, fullname={$a->fullname}).'; $string['viewgrading'] = 'View all submissions'; $string['viewownsubmissionform'] = 'View own submit assignment page.'; @@ -706,3 +705,4 @@ $string['choosegradingaction'] = 'Grading action'; $string['groupoverridesdeleted'] = 'Group overrides deleted'; $string['updategrade'] = 'Update grade'; $string['useroverridesdeleted'] = 'User overrides deleted'; +$string['viewgrader'] = 'View Grader'; diff --git a/mod/assign/lang/en/deprecated.txt b/mod/assign/lang/en/deprecated.txt index bf86c650b52..e6b91d620f1 100644 --- a/mod/assign/lang/en/deprecated.txt +++ b/mod/assign/lang/en/deprecated.txt @@ -3,3 +3,4 @@ groupoverridesdeleted,mod_assign useroverridesdeleted,mod_assign choosegradingaction,mod_assign updategrade,mod_assign +viewgrader,mod_assign diff --git a/mod/assign/templates/grading_actionmenu.mustache b/mod/assign/templates/grading_actionmenu.mustache index 53124402b00..370d2d79cf5 100644 --- a/mod/assign/templates/grading_actionmenu.mustache +++ b/mod/assign/templates/grading_actionmenu.mustache @@ -103,9 +103,9 @@
{{/pagereset}} {{#graderurl}} - + {{/graderurl}} diff --git a/mod/assign/tests/behat/page_titles.feature b/mod/assign/tests/behat/page_titles.feature index 459fb9aa9cb..a4d2d86cbf9 100644 --- a/mod/assign/tests/behat/page_titles.feature +++ b/mod/assign/tests/behat/page_titles.feature @@ -30,5 +30,5 @@ Feature: In an assignment, page titles are informative Then the page title should contain "C1: History of ants" And I navigate to "Submissions" in current page administration And the page title should contain "C1: History of ants - Submissions" - And I click on "Grade" "link" in the "Student 1" "table_row" + And I click on "Grade" "link" in the ".tertiary-navigation" "css_element" And the page title should contain "C1: History of ants - Grading"