Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename several pages #2265

Merged
merged 3 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -1262,18 +1262,18 @@ ${pg}{modules} = [
##### Problem creation defaults

# The default weight (also called value) of a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file.
$problemDefaults{value} = 1;

# The default max_attempts for a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 gives students unlimited attempts.
$problemDefaults{max_attempts} = -1;

# The default showMeAnother for a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 disables the showMeAnother button
$problemDefaults{showMeAnother} = -2;
Expand Down Expand Up @@ -1597,7 +1597,7 @@ $ConfigValues = [
doc => x('Enable Course Achievements'),
doc2 => x(
'Activiating this will enable Mathchievements for webwork. Mathchievements can be managed '
. 'by using the Achievement Editor link.'
. 'by using the Achievements Manager link.'
),
type => 'boolean'
},
Expand Down Expand Up @@ -1659,7 +1659,7 @@ $ConfigValues = [
. 'is 50% and a student views a problem during the Reduced Scoring Period, they will see the '
. 'message "You are in the Reduced Scoring Period: All additional work done counts 50% of the '
. 'original." </p><p>To use this, you also have to enable Reduced Scoring and set the Reduced '
. 'Scoring Date for individual assignments by editing the set data using the Set Manager.</p>'
. 'Scoring Date for individual assignments by editing the set data using the Sets Manager.</p>'
. '<p>This works with the avg_problem_grader (which is the the default grader) and the '
. 'std_problem_grader (the all or nothing grader). It will work with custom graders if they '
. 'are written appropriately.</p>'
Expand Down Expand Up @@ -1871,9 +1871,9 @@ $ConfigValues = [
{ var => 'permissionLevels{navigation_allowed}',
doc => 'Allowed to view course home page',
doc2 => 'If a user does not have this permission, then the user will not be allowed to navigate to the '
. 'course home page, i.e., the Homework Sets page. This should only be used for a course when LTI '
. 'course home page, i.e., the Assignments page. This should only be used for a course when LTI '
. 'authentication is used, and is most useful when LTIGradeMode is set to homework. In this case the '
. 'Homework Sets page is not useful and can even be confusing to students. To use this feature set '
. 'Assignments page is not useful and can even be confusing to students. To use this feature set '
. 'this permission to "login_proctor".',
type => 'permission'
},
Expand Down
6 changes: 3 additions & 3 deletions conf/localOverrides.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -269,20 +269,20 @@ $mail{feedbackRecipients} = [
################################################################################

# The default weight (also called value) of a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file.

#$problemDefaults{value} = 1;

# The default max_attempts for a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 gives students unlimited attempts.

#$problemDefaults{max_attempts} = -1;

# The default showMeAnother for a problem to use when using the
# Library Browser, Problem Editor or Set Manager to add problems to a set
# Library Browser, Problem Editor, or Sets Manager to add problems to a set
# or when this value is left blank in an imported set definition file. Note that
# setting this to -1 disables the showMeAnother button
#$problemDefaults{showMeAnother} = -1;
Expand Down
2 changes: 1 addition & 1 deletion courses.dist/modelCourse/templates/email/welcome.msg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Your username/password is:
$LOGIN/$SID

You should change your password once you have logged in by visiting
User Settings in the sidebar navigation.
Account Settings in the sidebar navigation.

Have fun,
Jan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
If you haven't already done so, you should change your password to
something other than your student ID or whatever your instructor
used as your initial password. To do this, click on the
User Settings link in the sidebar navigation at the far left,
Account Settings link in the sidebar navigation at the far left,
and follow the directions on that page. Note you can collapse and
uncollapse the sidebar navigation by clicking on the three bars "hamburger"
icon at the top left. So if you don't see the sidebar navigation, click
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
If you haven't already changed your password, you should do so now.
To do this, type your OLD password in the top box at the left and
your NEW password in the two lower boxes at the left,
then press the "Change User Options" button.
then press the "Change Account Settings" button.

<p align="justify">

Expand All @@ -27,5 +27,5 @@ automatically if you wish.
<p align="justify">

Finally, when you have made the changes that you want to make, select
the "Homework Sets" link at the top of the red panel at the far left
the "Assignments" link at the top of the red panel at the far left
to get back to the list of homework sets.
6 changes: 3 additions & 3 deletions courses.dist/modelCourse/templates/setOrientation/prob02.pg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ understands your answer the way you intend it to. And it does not count
as an attempt on the problem. (This is discussed further in a later problem.)
$PAR

The ${LQ}User Settings$RQ link under the sidebar navigation at the left
The ${LQ}Account Settings$RQ link under the sidebar navigation at the left
has a ${LQ}Change Display Options$RQ section that allows you to
change how the problem is displayed. The equations within the problem
can be represented in two different ways:
Expand All @@ -69,8 +69,8 @@ Choose whichever mode is most comfortable for you. You can always
select a different mode if a particular problem needs it. Here is a
sample of some simple mathematics, \(x^2 + 3\), and a more complicated
expression, \(\frac{x(1-x)}{2x + 1}\). Try changing the display mode
by clicking the ${LQ}User Settings$RQ link, selecting the ${LQ}images${RQ}
radio button, pressing the ${LQ}Change User Settings${RQ} button and then
by clicking the ${LQ}Account Settings$RQ link, selecting the ${LQ}images${RQ}
radio button, pressing the ${LQ}Change Account Settings${RQ} button and then
displaying problem 2 again. Then change the display mode to back to
${LQ}MathJax$RQ mode for the rest of the homework set.
$PAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ menu, click the three bars to make it reappear.

$PAR
On the left, in the sidebar navigation, you have already
seen the ${LQ}Homework Sets${RQ} page,
seen the ${LQ}Assignments${RQ} page,
which lists all the homework assignments that have
been assigned to you. Links allow you to go to any assignment
you want to work on.
$PAR
The ${LQ}User Settings${RQ} page lets you change your password,
The ${LQ}Account Settings${RQ} page lets you change your password,
email address and display options. Display Options gives you control
over how you want math equations displayed. For example with
${LQ}MathJax${RQ} you can control the size of equations, have access
Expand Down
2 changes: 1 addition & 1 deletion htdocs/themes/math4/math4.scss
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ ul.courses-list {
}
}

/* Homework Sets */
/* Assignments page */
.problem_set_table {
td a {
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ sub save_as_handler ($c) {
$c->shortPath($outputFilePath)
));
$c->addbadmessage(
$c->maketext('You can change the file path for this problem manually from the "Set Manager" page'))
$c->maketext('You can change the file path for this problem manually from the "Sets Manager" page'))
if defined $c->{setID};
$c->addgoodmessage($c->maketext(
'The text box now contains the source of the original problem. '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ use constant FIELD_PROPERTIES => {
help_text => x(
'This sets a number of minutes for each version of a test, once it is started. Use "0" to indicate no '
. 'time limit. If there is a time limit, then there will be an indication that this is a timed '
. 'test on the main "Homework Sets" page. Additionally the student will be sent to a confirmation '
. 'test on the main "Assignments" page. Additionally the student will be sent to a confirmation '
. 'page beefore they can begin.'
)
},
Expand Down
4 changes: 2 additions & 2 deletions lib/WeBWorK/ContentGenerator/ProblemSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ sub nav ($c, $args) {
return '' unless $c->authz->hasPermissions($c->param('user'), 'navigation_allowed');

my @links = (
$c->maketext('Homework Sets'),
$c->maketext('Assignments'),
$c->url_for($c->app->routes->lookup($c->current_route)->parent->name),
$c->maketext('Homework Sets')
$c->maketext('Assignments')
);
return $c->tag(
'div',
Expand Down
10 changes: 5 additions & 5 deletions lib/WeBWorK/Utils/Routes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ my %routeParameters = (
path => '/logout'
},
options => {
title => x('User Settings'),
title => x('Account Settings'),
module => 'Options',
path => '/options',
unrestricted => 1
Expand Down Expand Up @@ -332,7 +332,7 @@ my %routeParameters = (
path => '/instructor'
},
instructor_user_list => {
title => x('User Manager'),
title => x('Accounts Manager'),
children => [qw(instructor_user_detail)],
module => 'Instructor::UserList',
path => '/users'
Expand All @@ -343,7 +343,7 @@ my %routeParameters = (
path => '/#userID'
},
instructor_set_list => {
title => x('Set Manager'),
title => x('Sets Manager'),
children => [qw(instructor_set_detail)],
module => 'Instructor::ProblemSetList',
path => '/sets'
Expand All @@ -370,7 +370,7 @@ my %routeParameters = (
path => '/add_users'
},
instructor_set_assigner => {
title => x('Set Assigner'),
title => x('Assigner Tool'),
module => 'Instructor::Assigner',
path => '/assigner'
},
Expand Down Expand Up @@ -460,7 +460,7 @@ my %routeParameters = (
path => '/student/#userID'
},
instructor_achievement_list => {
title => x('Achievement Editor'),
title => x('Achievements Manager'),
children => [qw(instructor_achievement_editor instructor_achievement_user_editor)],
module => 'Instructor::AchievementList',
path => '/achievement_list'
Expand Down
14 changes: 7 additions & 7 deletions templates/ContentGenerator/Base/links.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
% }
<ul class="nav flex-column">
% if (defined $courseID && $authen->was_verified) {
% # Homework Sets or Course Administration
% # Assignments or Course Administration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment should be updated. This file no longer has anything to do with "Course Administration", and there isn't even such a link in the Admin course anymore.

<li class="list-group-item nav-item">
% if ($restricted_navigation) {
<span class="nav-link disabled"><%= maketext('Homework Sets') %></span>
<span class="nav-link disabled"><%= maketext('Assignments') %></span>
% } else {
<%= $makelink->('set_list', text => maketext('Homework Sets')) %>
<%= $makelink->('set_list', text => maketext('Assignments')) %>
% }
</li>
%
Expand Down Expand Up @@ -88,7 +88,7 @@
% if ($authz->hasPermissions($userID, 'access_instructor_tools')) {
<li><hr class="site-nav-separator"></li>
<li class="list-group-item nav-item"><%= $makelink->('instructor_tools') %></li>
% # Class list editor
% # Accounts Manager
<li class="list-group-item nav-item"><%= $makelink->('instructor_user_list') %></li>
% # User Assignments
% if (defined $eUserID && $eUserID ne $userID || defined $urlUserID) {
Expand Down Expand Up @@ -117,9 +117,7 @@
</ul>
</li>
% }
% # Set assigner
<li class="list-group-item nav-item"><%= $makelink->('instructor_set_assigner') %></li>
% # Homework Set Editor
% # Sets Manager
<li class="list-group-item nav-item"><%= $makelink->('instructor_set_list') %></li>
% # Editor link. Only shown for non-versioned sets
% if (defined $setID && $setID !~ /,v\d+$/) {
Expand All @@ -136,6 +134,8 @@
</ul>
</li>
% }
% # Assigner Tool
<li class="list-group-item nav-item"><%= $makelink->('instructor_set_assigner') %></li>
% # Problem Editor
<li class="list-group-item nav-item">
<%= $makelink->(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
data-bs-toggle="popover"
data-bs-content="<%= maketext(
'Answer availability for tests depends on multiple settings. This only indicates the '
. 'template answer date has passed. See set editor for actual availability.'
. 'template answer date has passed. See Set Detail page for actual availability.'
) =%>">
<i class="icon fas fa-question-circle" data-alt="<%= maketext('Help Icon') =%>"
aria-hidden="true">
Expand Down
2 changes: 1 addition & 1 deletion templates/ContentGenerator/Options.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@
% }
% }
%
<%= submit_button maketext('Change User Settings'), name => 'changeOptions', class => 'btn btn-primary' =%>
<%= submit_button maketext('Change Account Settings'), name => 'changeOptions', class => 'btn btn-primary' =%>
% end
2 changes: 1 addition & 1 deletion templates/ContentGenerator/ProblemSets.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% # Create the set table.
<div class="table-responsive">
<table class="problem_set_table table table-sm caption-top font-sm">
<caption><%= maketext('Homework Sets') %></caption>
<caption><%= maketext('Assignments') %></caption>
%
% # Setlist table headers
% my $sort = param('sort') || 'status';
Expand Down
2 changes: 1 addition & 1 deletion templates/HelpFiles/InstructorAchievementList.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%################################################################################
%
% layout 'help_macro';
% title maketext('Achievement Editor Help');
% title maketext('Achievements Manager Help');
%
<p>
<%= maketext('Manage achievements for the course. The actions allow one to edit, assign, import, export, score, '
Expand Down
2 changes: 1 addition & 1 deletion templates/HelpFiles/InstructorAssigner.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%################################################################################
%
% layout 'help_macro';
% title maketext('Set Assigner Help');
% title maketext('Assigner Tool Help');
%
<p>
<%= maketext('Select Users from the left column and sets from the right column and assign or '
Expand Down
4 changes: 2 additions & 2 deletions templates/HelpFiles/InstructorFileManager.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<%== maketext('These are stored in the templates directory. The format of '
. '<strong>Set Definition files</strong> is described in the <a [_1]>Set Definition specification</a>. '
. 'Set definition files are mainly useful for transferring set assignments from one course to another '
. 'and are created when exporting a problem set from the "Set Manager". Each set definition file '
. 'and are created when exporting a problem set from the "Sets Manager". Each set definition file '
. 'contains a list of problems used and the dates and times. These definitions can be imported into the '
. 'current course.',
'href="https://webwork.maa.org/wiki/Set_Definition_Files" target="Webworkdocs"') =%>
Expand Down Expand Up @@ -75,7 +75,7 @@
<dd>
<%= maketext('These are the files from which problems are generated and are located in the templates '
. 'directory or in subdirectories. They can be edited directly using the "Edit" link on each problem '
. 'page or from the "Set Manager". The File Manager allows you to upload or download these files. '
. 'page or from the "Sets Manager". The File Manager allows you to upload or download these files. '
. 'Directories that start with "set" contain pg files and are generated when exporting a problem set in '
. 'which there are local versions of a problem.') =%>
</dd>
Expand Down
4 changes: 2 additions & 2 deletions templates/HelpFiles/InstructorPGProblemEditor.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<p>
<%= maketext('You may want to create an unattached problem if you are using the current problem as a model '
. 'for a new problem. You can add the new file to a homework set from the Library Browser or via the '
. 'set detail page of the "Set Manager".') =%>
. 'set detail page of the "Sets Manager".') =%>
</p>
<p>
<%= maketext('If the original problem can not be edited than the path name must be changed in order to be '
Expand All @@ -177,7 +177,7 @@
<dd>
<%= maketext('Add this problem as the last problem of an existing set, either as a problem or as the set '
. 'header (the text that appears on the home page of a homework set). You can rearrange the order of the '
. 'problems later using the "Set Manager".') =%>
. 'problems later using the "Sets Manager".') =%>
</dd>

<dt><%= maketext('Revert') %></dt>
Expand Down
2 changes: 1 addition & 1 deletion templates/HelpFiles/InstructorProblemSetList.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%################################################################################
%
% layout 'help_macro';
% title maketext('Set Manager Help');
% title maketext('Sets Manager Help');
%
<p>
<%= maketext('This page manages all problem sets (including quizzes/tests). '
Expand Down
2 changes: 1 addition & 1 deletion templates/HelpFiles/InstructorSetMaker.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
</dd>
</dl>
<p class="mb-0">
<%= maketext('The "Edit Target Set" button at the top of the page will take you to the Problem Set Editor '
<%= maketext('The "Edit Target Set" button at the top of the page will take you to the Set Detail page '
. 'which will allow you to edit dates, assign users and other information about the problem set.') =%>
</p>
2 changes: 1 addition & 1 deletion templates/HelpFiles/InstructorUserList.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%################################################################################
%
% layout 'help_macro';
% title maketext('User Manager Help');
% title maketext('Accounts Manager Help');
%
<p>
<%== maketext('From this page you can <strong>add new students</strong>, <strong>edit</strong> user data '
Expand Down
2 changes: 1 addition & 1 deletion templates/HelpFiles/Options.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%################################################################################
%
% layout 'help_macro';
% title maketext('User Settings Help');
% title maketext('Account Settings Help');
%
<p>
<%= maketext('This page allows users to change their password, email address, and display settings used in '
Expand Down
Loading