Commit 3dc25586 authored by Hugh Davenport's avatar Hugh Davenport
Browse files

Reword institution statistics page when no institutions

Change-Id: Ib089413f4d35a672e3526865e459ed8ab407528f
Signed-off-by: default avatarHugh Davenport <>
parent c9abbd94
......@@ -39,7 +39,8 @@ $institutionelement = get_institution_selector();
if (empty($institutionelement)) {
$smarty = smarty();
$smarty->assign('CANCREATEINST', $USER->get('admin'));
......@@ -864,6 +864,7 @@ $string['Admins'] = 'Admins';
$string['noinstitutions'] = 'No institutions';
$string['noinstitutionsdescription'] = 'If you would like to associate users with an institution, you should create the institution first.';
$string['noinstitutionsstatsdescription'] = 'Institution statistics are not available because there are no institutions available to your user.';
$string['Lockedfields'] = 'Locked fields';
$string['disabledlockedfieldhelp'] = 'Note: Disabled check boxes are for profile fields which are locked in the institution settings for "%s". These profile fields are locked at the site level and cannot be unlocked here.';
{include file="header.tpl"}
<h1>{str tag="noinstitutions" section="admin"}</h1>
<p>{str tag="noinstitutionsstatsdescription" section="admin"}</p>
<div class="institutioneditbuttons">
<form action="{$WWWROOT}admin/users/institutions.php" method="post">
<input type="submit" class="submit" name="add" value="{str tag="addinstitution" section="admin"}" id="admininstitution_add">
{include file="footer.tpl"}
Markdown is supported
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