Commit 125cde4b authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1855333: Create admin section for custom group default settings"

parents a28b36e6 d1b002de
This diff is collapsed.
......@@ -1519,5 +1519,12 @@ $string['userdeletiondeniedsuccessful'] = 'Request denied successfully.';
$string['userdeletiondeniedunsuccessful'] = 'The attempted user account deletion denial failed.';
$string['consented'] = 'Consented';
$string['groupid'] = 'Group ID';
$string['blocktypeupdatedsuccess'] = 'Updated blocktype sort order';
// Change group settings
$string['groupsettings'] = 'Group settings';
$string['introtext'] = 'You can change the default settings that are used when a new group is created. Some settings are only available to people who have a certain role. The options that are not available to them are ignored when they create a new group, and the default value is used instead.';
$string['savedgroupconfigsuccessfully'] = 'Saved default group settings.';
$string['defaultreset'] = 'Reset to default';
$string['defaultresetlabel'] = 'Reset';
$string['defaultresetdesc'] = 'Reset all of the above options to their default values.';
......@@ -395,6 +395,7 @@ $string['allowsubmissions'] = 'Allow submissions';
$string['allowssubmissionsdescription1'] = "Members can submit pages to the group that are then locked. These pages cannot be edited until they are released by a group tutor or administrator.";
$string['allowssubmissionsdescription'] = 'Members can submit pages to the group.';
$string['allowsarchives'] = 'Allow archiving of submissions';
$string['allowsarchiveserror'] = 'You can only allow archiving if submissions are allowed.';
$string['allowsarchivesdescription'] = 'Pages / collections are archived as zipped Leap2A files during the submission release process.';
// Group reports
......@@ -2408,6 +2408,12 @@ function admin_nav() {
'path' => 'managegroups/archives',
'url' => 'admin/groups/archives.php',
'title' => get_string('archivedsubmissions', 'admin'),
'weight' => 27,
'managegroups/settings' => array(
'path' => 'managegroups/settings',
'url' => 'admin/groups/settings.php',
'title' => get_string('groupsettings', 'admin'),
'weight' => 25,
'managegroups/uploadcsv' => array(
{include file="header.tpl"}
<p class="lead">{str tag=introtext section=admin}</p>
<div class="card card-body">
{include file="footer.tpl"}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment