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
...@@ -502,8 +502,9 @@ if (empty($suspended)) { ...@@ -502,8 +502,9 @@ if (empty($suspended)) {
'value' => $institution, 'value' => $institution,
), ),
'submit' => array( 'submit' => array(
'type' => 'submit', 'type' => 'submit',
'value' => get_string('suspendinstitution','admin'), 'value' => get_string('suspendinstitution','admin'),
'description' => get_string('suspendinstitutiondescription','admin'),
), ),
) )
); );
...@@ -521,8 +522,9 @@ else { ...@@ -521,8 +522,9 @@ else {
'value' => $institution, 'value' => $institution,
), ),
'submit' => array( 'submit' => array(
'type' => 'submit', 'type' => 'submit',
'value' => get_string('unsuspendinstitution','admin'), 'value' => get_string('unsuspendinstitution','admin'),
'description' => get_string('unsuspendinstitutiondescription','admin'),
), ),
) )
); );
......
...@@ -478,6 +478,8 @@ $string['suspendinstitution'] = 'Suspend Institution'; ...@@ -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['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['suspendedinstitutionmessage'] = 'This institution has been suspended';
$string['unsuspendinstitution'] = 'Unsuspend Institution'; $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 // Admin User Search
......
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
{if $suspended} {if $suspended}
<div class="message"> <div class="message">
<h4>{$suspended|escape}</h4> <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 class="center">{$suspendform_top}</div>
</div> </div>
{/if} {/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