From af515d59f22605793359a660ed89087b215f3e47 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 11 Dec 2024 16:02:55 -0600 Subject: [PATCH] Change "Help" links to be more specific. --- lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm | 2 +- .../ContentGenerator/CourseAdmin/add_course_form.html.ep | 4 +++- templates/ContentGenerator/Grades/student_stats.html.ep | 2 +- .../Instructor/PGProblemEditor/format_code_form.html.ep | 4 ++-- .../Instructor/PGProblemEditor/hardcopy_form.html.ep | 2 +- .../restricted_login_proctor_password_row.html.ep | 2 +- .../ContentGenerator/Instructor/Stats/problem_stats.html.ep | 4 ++-- .../ContentGenerator/Instructor/Stats/set_stats.html.ep | 6 +++--- .../Instructor/StudentProgress/set_progress.html.ep | 2 +- .../Instructor/UserDetail/set_date_table.html.ep | 2 +- templates/ContentGenerator/ProblemSet/problem_list.html.ep | 2 +- templates/HTML/SingleProblemGrader/grader.html.ep | 6 +++--- 12 files changed, 20 insertions(+), 18 deletions(-) diff --git a/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm b/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm index 07c1ab42eb..024460a87c 100644 --- a/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm +++ b/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm @@ -1000,7 +1000,7 @@ sub fieldHTML ($c, $userID, $setID, $problemID, $globalRecord, $userRecord, $fie }, $c->c( $c->tag('i', class => 'icon fas fa-question-circle', 'aria-hidden' => 'true'), - $c->tag('span', class => 'visually-hidden', $c->maketext('Help')) + $c->tag('span', class => 'visually-hidden', $c->maketext('[_1] Help', $properties{name})) )->join('') ) : ''; diff --git a/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep b/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep index 361e6483c7..fc13618569 100644 --- a/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep +++ b/templates/ContentGenerator/CourseAdmin/add_course_form.html.ep @@ -230,7 +230,9 @@ . 'inspect the new course configuration file and make adjustments for the new instructor.') =%>" > - <%= maketext('Help') =%> + + <%= maketext('Notes regarding copying the course configuration file') =%> + diff --git a/templates/ContentGenerator/Grades/student_stats.html.ep b/templates/ContentGenerator/Grades/student_stats.html.ep index 224f41b445..b4df273d71 100644 --- a/templates/ContentGenerator/Grades/student_stats.html.ep +++ b/templates/ContentGenerator/Grades/student_stats.html.ep @@ -17,7 +17,7 @@ . 'has not been attempted. The bottom number is the number of incorrect attempts.' ) =%>"> - <%= maketext('Help') %> + <%= maketext('Problem Score Help') %> diff --git a/templates/ContentGenerator/Instructor/PGProblemEditor/format_code_form.html.ep b/templates/ContentGenerator/Instructor/PGProblemEditor/format_code_form.html.ep index d903bf09c8..69da3d5a95 100644 --- a/templates/ContentGenerator/Instructor/PGProblemEditor/format_code_form.html.ep +++ b/templates/ContentGenerator/Instructor/PGProblemEditor/format_code_form.html.ep @@ -11,7 +11,7 @@ . 'the functionality of the code and in general is desired to have a common problem layout.') =%>" data-bs-placement="top" data-bs-toggle="popover" role="button"> - <%= maketext('Help Icon') %> + <%= maketext('Perltidy Help') %>
@@ -27,7 +27,7 @@ . 'which may not be converted correctly.') =%>" data-bs-placement="top" data-bs-toggle="popover" role="button"> - <%= maketext('Help Icon') %> + <%= maketext('PGML Conversion Help') %>
diff --git a/templates/ContentGenerator/Instructor/PGProblemEditor/hardcopy_form.html.ep b/templates/ContentGenerator/Instructor/PGProblemEditor/hardcopy_form.html.ep index 48543b9840..79b1d08e7b 100644 --- a/templates/ContentGenerator/Instructor/PGProblemEditor/hardcopy_form.html.ep +++ b/templates/ContentGenerator/Instructor/PGProblemEditor/hardcopy_form.html.ep @@ -33,7 +33,7 @@ tabindex => 0, begin =%> - <%= maketext('Help') =%> + <%= maketext('Hardcopy Format Help') =%> <% end =%> <% end =%>
diff --git a/templates/ContentGenerator/Instructor/ProblemSetDetail/restricted_login_proctor_password_row.html.ep b/templates/ContentGenerator/Instructor/ProblemSetDetail/restricted_login_proctor_password_row.html.ep index aa9d6037bd..7a67929e0a 100644 --- a/templates/ContentGenerator/Instructor/ProblemSetDetail/restricted_login_proctor_password_row.html.ep +++ b/templates/ContentGenerator/Instructor/ProblemSetDetail/restricted_login_proctor_password_row.html.ep @@ -20,7 +20,7 @@ . 'their username and password on the student\'s screen for authentication.' ) =%>"> - <%= maketext('Help') =%> + <%= maketext('Proctor Password Help') =%> diff --git a/templates/ContentGenerator/Instructor/Stats/problem_stats.html.ep b/templates/ContentGenerator/Instructor/Stats/problem_stats.html.ep index d6e9458d20..29d5a604ec 100644 --- a/templates/ContentGenerator/Instructor/Stats/problem_stats.html.ep +++ b/templates/ContentGenerator/Instructor/Stats/problem_stats.html.ep @@ -58,7 +58,7 @@ 'Success index is the square of the average score divided by the average number of attempts.' ) %>"> - <%= maketext('Help') =%> + <%= maketext('Success Index Help') =%> <%= sprintf('%0.1f', 100 * $successIndex) %> @@ -88,7 +88,7 @@ data-bs-content="<%= maketext('Success index is the square of the score divided by the number of attempts.') =%>"> - <%= maketext('Help') =%> + <%= maketext('Success Index Help') =%> % end % push @tableHeaders, $successIndexHeader->(); diff --git a/templates/ContentGenerator/Instructor/Stats/set_stats.html.ep b/templates/ContentGenerator/Instructor/Stats/set_stats.html.ep index 8313a2053e..a208c80adb 100644 --- a/templates/ContentGenerator/Instructor/Stats/set_stats.html.ep +++ b/templates/ContentGenerator/Instructor/Stats/set_stats.html.ep @@ -20,7 +20,7 @@ . 'Indvidual students may have different settings.' ) %>"> - <%= maketext('Help') =%> + <%= maketext('Set Status Help') =%> @@ -49,7 +49,7 @@ . 'template answer date has passed. See Set Detail page for actual availability.' ) =%>"> - <%= maketext('Help') =%> + <%= maketext('Answer Availability Help') =%> % } @@ -108,7 +108,7 @@ data-bs-content="<%= maketext( 'Success index is the square of the average score divided by the average number of attempts.') %>"> - <%= maketext('Help') =%> + <%= maketext('Success Index Help') =%> % end % diff --git a/templates/ContentGenerator/Instructor/StudentProgress/set_progress.html.ep b/templates/ContentGenerator/Instructor/StudentProgress/set_progress.html.ep index 62c9c88ee3..e1eb38b734 100644 --- a/templates/ContentGenerator/Instructor/StudentProgress/set_progress.html.ep +++ b/templates/ContentGenerator/Instructor/StudentProgress/set_progress.html.ep @@ -197,7 +197,7 @@ . 'has not been attempted. The bottom number is the number of incorrect attempts.' ) =%>"> - <%= maketext('Help') =%> + <%= maketext('Problem Score Help') =%> % } diff --git a/templates/ContentGenerator/Instructor/UserDetail/set_date_table.html.ep b/templates/ContentGenerator/Instructor/UserDetail/set_date_table.html.ep index 12fabb25df..83ab6994ba 100644 --- a/templates/ContentGenerator/Instructor/UserDetail/set_date_table.html.ep +++ b/templates/ContentGenerator/Instructor/UserDetail/set_date_table.html.ep @@ -20,7 +20,7 @@ 'If the test was timed, granting the user an additional version ' . 'may be preferred to changing its dates.' )%>"> <% =%>\ - <%= maketext('Help Icon') %><% =%>\ + <%= maketext('Advice on changing test dates') %><% =%>\ % } <%= $isVersioned ? maketext(q{User's Test Version Dates}) : maketext('User Overrides') =%> diff --git a/templates/ContentGenerator/ProblemSet/problem_list.html.ep b/templates/ContentGenerator/ProblemSet/problem_list.html.ep index 4d63e2e356..c5e76c1137 100644 --- a/templates/ContentGenerator/ProblemSet/problem_list.html.ep +++ b/templates/ContentGenerator/ProblemSet/problem_list.html.ep @@ -30,7 +30,7 @@ }, begin =%> - <%= maketext('Help') =%> + <%= maketext('Adjusted Status Help') =%> <% end =%> <%= maketext('Counts for Parent') %> diff --git a/templates/HTML/SingleProblemGrader/grader.html.ep b/templates/HTML/SingleProblemGrader/grader.html.ep index bc63d2bdf6..b5caad01ba 100644 --- a/templates/HTML/SingleProblemGrader/grader.html.ep +++ b/templates/HTML/SingleProblemGrader/grader.html.ep @@ -49,7 +49,7 @@ }, begin =%> - <%= maketext('Help') =%> + <%= maketext('Answer Score Help') =%> <% end =%> <% end =%>
@@ -150,7 +150,7 @@ }, begin =%> - <%= maketext('Help Icon') %> + <%= maketext('Point Value Help') %> <% end =%> <% end =%>
@@ -220,7 +220,7 @@ }, begin =%> - <%= maketext('Help Icon') %> + <%= maketext('Problem Score Help') %> <% end =%> <% end =%>