MDL-82816 mod_assign: Rename 'View Grader' action button to 'Grade'

Renames the 'View Grader' action button to 'Grade' and deprecates
the 'viewgrader' string which is no longer used.
This commit is contained in:
Mihail Geshoski
2024-08-19 10:20:19 +08:00
parent 6cd55074c7
commit 897ec3b603
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -675,7 +675,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.';
@@ -694,3 +693,4 @@ $string['attemptreopenmethod_none'] = 'Never';
$string['choosegradingaction'] = 'Grading action';
$string['groupoverridesdeleted'] = 'Group overrides deleted';
$string['useroverridesdeleted'] = 'User overrides deleted';
$string['viewgrader'] = 'View Grader';
+1
View File
@@ -2,3 +2,4 @@ attemptreopenmethod_none,mod_assign
groupoverridesdeleted,mod_assign
useroverridesdeleted,mod_assign
choosegradingaction,mod_assign
viewgrader,mod_assign
@@ -70,7 +70,7 @@
{{/pagereset}}
{{#graderurl}}
<div class="navitem ms-sm-auto align-self-center">
<a class="btn btn-primary" href="{{graderurl}}">{{#str}}viewgrader, mod_assign{{/str}}</a>
<a class="btn btn-primary" href="{{graderurl}}">{{#str}}gradeverb, core{{/str}}</a>
</div>
{{/graderurl}}
</div>
+1 -1
View File
@@ -30,5 +30,5 @@ Feature: In an assignment, page titles are informative
Then the page title should contain "C1: History of ants"
And I follow "View all submissions"
And the page title should contain "C1: History of ants - Grading"
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"