Commit a543ecfa authored by Elliot Pahl's avatar Elliot Pahl Committed by Elliot Pahl
Browse files

Add a descriptions for the suspend/unsuspend buttons on the institutions page.

parent 957ce732
......@@ -504,6 +504,7 @@ if (empty($suspended)) {
'submit' => array(
'type' => 'submit',
'value' => get_string('suspendinstitution','admin'),
'description' => get_string('suspendinstitutiondescription','admin'),
),
)
);
......@@ -523,6 +524,7 @@ else {
'submit' => array(
'type' => 'submit',
'value' => get_string('unsuspendinstitution','admin'),
'description' => get_string('unsuspendinstitutiondescription','admin'),
),
)
);
......
......@@ -478,6 +478,8 @@ $string['suspendinstitution'] = 'Suspend Institution';
$string['suspendinstitutiondescription'] = 'Here you may suspend an institution. Users of suspended institutions will be unable to log in until the institution is unsuspended.';
$string['suspendedinstitutionmessage'] = 'This institution has been suspended';
$string['unsuspendinstitution'] = 'Unsuspend Institution';
$string['unsuspendinstitutiondescription'] = 'Here you may unsuspend an institution. Users of suspended institutions will be unable to log in until the institution is unsuspended.<br /><strong>Beware:</strong> Unsuspending an institution without resetting or turning off its expiry date may result in a daily re-suspension.';
$string['unsuspendinstitutiondescription_top'] = '<em>Beware:</em> Unsuspending an institution without resetting or turning off its expiry date may result in a daily re-suspension.';
// Admin User Search
......
......@@ -11,6 +11,9 @@
{if $suspended}
<div class="message">
<h4>{$suspended|escape}</h4>
<div id="suspendedhelp">
<p class="description">{str tag="unsuspendinstitutiondescription_top" section="admin"}</p>
</div>
<div class="center">{$suspendform_top}</div>
</div>
{/if}
......
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