Commit c0d05132 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

When deleting an institution, show its name on confirmation page


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent e7da3c71
......@@ -131,6 +131,7 @@ if ($institution || $add) {
)
);
$smarty->assign('delete_form', pieform($form));
$smarty->assign('institutionname', get_field('institution', 'displayname', 'name', $institution));
$smarty->display('admin/users/institutions.tpl');
exit;
}
......
......@@ -3,6 +3,7 @@
{if $delete_form}
<h3>{str tag="deleteinstitution" section="admin"}</h3>
<p><strong>{$institutionname}</strong></p>
<p>{str tag="deleteinstitutionconfirm" section="admin"}</p>
{$delete_form|safe}
......
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