diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-13 15:38:35 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-13 15:38:35 -0500 |
commit | 6161eaef9e107ddbfc104753eb5d48434de3b824 (patch) | |
tree | 6a689458e0705c8da272712b71358ccd992f8a8b /app/Template/user_status/disable.php | |
parent | 567d623446d7e98393fb542c88d6d3b18b05cf6f (diff) |
Enable/Disable users
Diffstat (limited to 'app/Template/user_status/disable.php')
-rw-r--r-- | app/Template/user_status/disable.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/Template/user_status/disable.php b/app/Template/user_status/disable.php new file mode 100644 index 00000000..90d8c757 --- /dev/null +++ b/app/Template/user_status/disable.php @@ -0,0 +1,13 @@ +<div class="page-header"> + <h2><?= t('Disable user') ?></h2> +</div> + +<div class="confirm"> + <p class="alert alert-info"><?= t('Do you really want to disable this user: "%s"?', $user['name'] ?: $user['username']) ?></p> + + <div class="form-actions"> + <?= $this->url->link(t('Yes'), 'UserStatus', 'disable', array('user_id' => $user['id']), true, 'btn btn-red') ?> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'user', 'index', array(), false, 'close-popover') ?> + </div> +</div> |