Skip to content

Commit 907692a

Browse files
committed
Clean up things revealed in formatting.
1 parent f1970ca commit 907692a

29 files changed

Lines changed: 235 additions & 219 deletions

templates/ContentGenerator/Instructor/AchievementList/default_table.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</td>
6969
<td class="text-nowrap">
7070
<%= link_to $c->systemLink(
71-
url_for('instructor_achievement_notification', achievementID => $achievement_id),),
71+
url_for('instructor_achievement_notification', achievementID => $achievement_id)),
7272
begin =%>
7373
<%= $_->email_template
7474
? maketext('Edit Email Template')

templates/ContentGenerator/Instructor/AchievementList/delete_form.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="col-auto">
1010
<%= select_field
1111
'action.delete.confirm' =>
12-
[ [ maketext('No') => 'no', selected => undef ], [ maketext('Yes') => 'yes' ], ],
12+
[ [ maketext('No') => 'no', selected => undef ], [ maketext('Yes') => 'yes' ] ],
1313
id => 'delete_select',
1414
class => 'form-select form-select-sm d-inline w-auto me-3' =%>
1515
</div>

templates/ContentGenerator/ProblemSet/auxiliary_tools.html.ep

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@
5757
<dt class="fs-4"><%= $item->name %></dt>
5858
<dd class="mx-3 mb-4">
5959
% if (param('user') eq param('effectiveUser')) {
60-
<%= form_for current_route, method => 'POST', name => 'use_reward', begin =%>
60+
<%= form_for current_route,
61+
method => 'POST',
62+
name => 'use_reward',
63+
begin =%>
6164
<%= hidden_field 'use_achievement_item_id' => $item->id %>
6265
<%= $form %>
6366
% unless ($item->{hideUseButton}) {

templates/HelpFiles/AdminHideCourses.html.ep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
%
44
<p class="mb-0">
55
<%= maketext('Select the course(s) you want to hide (or unhide) and then click "Hide Courses" (or "Unhide '
6-
. 'Courses"). Hiding a course that is already hidden does no harm (the action is skipped). Likewise unhiding '
7-
. 'a course that is already visible does no harm (the action is skipped). Hidden courses are still active '
8-
. 'but are not listed in the list of WeBWorK courses on the opening page. To access the course, an '
9-
. 'instructor or student must know the full URL address for the course.') =%>
6+
. 'Courses"). Hiding a course that is already hidden does no harm (the action is skipped). Likewise '
7+
. 'unhiding a course that is already visible does no harm (the action is skipped). Hidden courses are '
8+
. 'still active but are not listed in the list of WeBWorK courses on the opening page. To access the '
9+
. 'course, an instructor or student must know the full URL address for the course.') =%>
1010
</p>

templates/HelpFiles/AdminManageLTICourseMap.html.ep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<p class="mb-0">
1313
<%= maketext('Note that two courses in different LMSs might have the same context id. If that is the case, then '
1414
. 'these courses must must have different LTI configurations. For LTI 1.1, this means they must have the '
15-
. 'consumer key set to different values in the two LMSs and that must be set in the LTI 1.1 configuration for '
16-
. 'the courses in WeBWorK. For LTI 1.3, two different LMSs will always have different configurations. Make '
17-
. 'sure the two configurations are correct in WeBWorK.') =%>
15+
. 'consumer key set to different values in the two LMSs and that must be set in the LTI 1.1 configuration '
16+
. 'for the courses in WeBWorK. For LTI 1.3, two different LMSs will always have different configurations. '
17+
. 'Make sure the two configurations are correct in WeBWorK.') =%>
1818
</p>

templates/HelpFiles/AdminManageLocations.html.ep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
%
44
<p>
55
<%= maketext('Fill out the form below to add, edit, or delete locations. Locations are used to restrict access '
6-
. 'to sets based on ip address. Locations are configured here in the administration course, then used in a '
7-
. 'normal course. When configuring a set to use a restricted ip address, the instructor can choose to '
6+
. 'to sets based on ip address. Locations are configured here in the administration course, then used in '
7+
. 'a normal course. When configuring a set to use a restricted ip address, the instructor can choose to '
88
. 'either restrict access to the location or deny access from a location, which are identified by their '
99
. 'name. Instructors can select multiple locations to restrict access to.') =%>
1010
</p>

templates/HelpFiles/AdminUpgradeCourses.html.ep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<p class="mb-0">
55
<%= maketext('Select which courses to upgrade from a previous version of WeBWorK. The upgrade process can add '
66
. 'missing database columns, delete unused database columns, and check the course file structure. Be sure '
7-
. 'to read over the changes before confirming the upgrade. You may want to create an archive of the course '
8-
. 'before upgrading. Only courses that need upgraded will be selectable.') =%>
7+
. 'to read over the changes before confirming the upgrade. You may want to create an archive of the '
8+
. 'course before upgrading. Only courses that need upgraded will be selectable.') =%>
99
</p>

templates/HelpFiles/Grades.html.ep

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
% title maketext('Grades Help');
33
%
44
<p>
5-
<%= maketext(q{This page shows the student's current grade for all assignments they are assigned to. This page }
6-
. 'only shows assignments and grades visible to the student. To view all grades, visit the "Student Progress" '
7-
. q{page for the student. The student navigation menu at the top can be used to change which student's grades }
8-
. 'to view') =%>
5+
<%= maketext(q{This page shows the student's current grade for all assignments they are assigned to. This }
6+
. 'page only shows assignments and grades visible to the student. To view all grades, visit the '
7+
. '"Student Progress" page for the student. The student navigation menu at the top can be used to '
8+
. q{change which student's grades to view}) =%>
99
</p>
1010
<p>
1111
<%= maketext('The total grade at the top shows the total score and percent average over all open assignments. '
1212
. 'The total grade can be shown/hidden under general course configuration settings.') =%>
1313
</p>
1414
<p>
1515
<%= maketext('The grades are divided into open, reduced scoring, closed, and future assignments. No grades are '
16-
. 'shown for future assignments, just their open date. Assignments are sorted using the same urgency logic '
17-
. 'as the "Assignments" page. For open assignments, a table of per problem scores are shown for homework '
18-
. 'assignments. Just in time assignments only show top level problems. Tests only show the best test version '
19-
. 'provided students can see the test grade.') %>
16+
. 'shown for future assignments, just their open date. Assignments are sorted using the same urgency '
17+
. 'logic as the "Assignments" page. For open assignments, a table of per problem scores are shown for '
18+
. 'homework assignments. Just in time assignments only show top level problems. Tests only show the best'
19+
. ' test version provided students can see the test grade.') %>
2020
</p>
2121
<p class="m-0">
2222
<%== maketext(

templates/HelpFiles/Hardcopy.html.ep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
<p>
4141
<%== maketext(
4242
'Once "Generate Hardcopy for selected sets and selected users" is clicked a file in the selected '
43-
. 'hardcopy format will be generated and offered for download. If PDF output was selected, a single PDF file '
44-
. 'is generated. If TeX output is selected, a zip file is generated that contains all files needed to '
45-
. 'generated the hardcopy PDF file via LaTeX. The main TeX file is called [_2].',
43+
. 'hardcopy format will be generated and offered for download. If PDF output was selected, a single PDF '
44+
. 'file is generated. If TeX output is selected, a zip file is generated that contains all files needed '
45+
. 'to generated the hardcopy PDF file via LaTeX. The main TeX file is called [_2].',
4646
'<code>hardcopy.tex</code>'
4747
) =%>
4848
</p>

templates/HelpFiles/InstructorAchievementEditor.html.ep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
% title maketext('Achievement Evaluator Editor Help');
33
%
44
<p>
5-
<%= maketext('An achievement evaluator is a perl script that is run after each problem is submitted which returns '
6-
. 'a truth value of 0 (didn\'t earn) or 1 (earn). The evaluator is given access to different variables which '
7-
. 'contain data about the problem and set that is used to determine if the achievement is earned or not.'
8-
) =%>
5+
<%= maketext('An achievement evaluator is a perl script that is run after each problem is submitted which '
6+
. q{returns a truth value of 0 (didn't earn) or 1 (earn). The evaluator is given access to different }
7+
. 'variables which contain data about the problem and set that is used to determine if the achievement '
8+
. 'is earned or not.') =%>
99
</p>
1010
<p>
1111
<%= maketext('Use the editor to edit the evaluator and the action form at the bottom to save the evaluator. You '

0 commit comments

Comments
 (0)