Commit 0a64d41e authored by Kristina Hoeppner's avatar Kristina Hoeppner Committed by Gerrit Code Review
Browse files

Profile completion: Change to switchboxes (Bug 1431569)

Change from checkboxes to switchboxes.

Change-Id: Ieba5728f2201bfdc679ecb39e8f14a250bf95708
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <>
parent 3dbd93f1
......@@ -127,7 +127,7 @@ foreach($possibleitems as $plugin => $itemlist) {
else {
$subelements[$pbname] = array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => $artefact->title,
'disabled' => ($artefact->active && !$islocked ? false : true),
'defaultvalue' => $defaultvalue,
......@@ -1169,7 +1169,7 @@ $string['progressbarsaved'] = 'Progress bar saved successfully.';
$string['showprogressbardescription1'] = 'Display a progress bar with tips about what to complete in the user profile as a sidebar to users. They have the option to disable it.';
$string['progressbardisablednote'] = '<b>Note</b>: Profile completion is currently disabled. You will need to enable it in the "User settings" section of "<a href="%sadmin/site/options.php">Configure site</a>" before users will be able to track their progress towards completing their profile.';
$string['profilecompletenessdesc'] = 'Select artefacts that will count towards the user profile completion for your institution. Please tick the checkboxes next to the artefact that users should provide or select how many items of certain artefact types your users should have to make their profile complete.';
$string['profilecompletenessdesc1'] = 'The profile completion allows your users to have a visual indicator in the sidebar showing them how complete their profile already is. You can choose the artefacts that will count towards the profile completion. All other artefacts can be used, but do not factor into the completion count.';
$string['profilecompletenesspreview'] = 'You can preview what the profile completion looks like in the "Profile completion preview" side block.';
$string['exporttoqueue'] = 'Export to queue';
{include file="header.tpl"}
<div id="progressbar-construct">
<p>{str tag="profilecompletenessdesc" section="admin"}</p>
<p>{str tag="profilecompletenessdesc1" section="admin"}</p>
<p>{str tag="profilecompletenesspreview" section="admin"}</p>
{if !$enabled}
<p>{str tag=progressbardisablednote section=admin args=$WWWROOT}</p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment