<% if (!_.isEmpty(removed)) { %>
Account was removed .
<% } else if (disabled) { %>
Account is currently disabled.
<% } %>
<% if (can_change_password && _.isEmpty(removed)) { %>

Reset password

<% } %> <% if (can_edit) { %> <% if (_.isEmpty(removed)) { %>

Disable account

<% if (!disabled) { %>

The user will be blocked from logging in while their account is disabled.

<% } else { %>

<% } %>
<% } %>

Delete account

<% if (_.isEmpty(removed)) { %>

The user’s running jobs will be cancelled and their outstanding system reservations and loans will be returned. They will be removed from all groups and system access policies. Ownership of the user’s systems and system pools will be transferred to you.

This operation is destructive and cannot be undone.

<% } else { %>

<% } %>
<% } %>