X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fuser_edit.tpl;h=ecbff599323d5e502a30bbf4b615fcc4c55e3c22;hb=b4be5795ddbcef63b4b6fffb200c3dfc3ffcb530;hp=7f81ca0327b3d04789b7193913028d1454146c65;hpb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/user_edit.tpl b/WEB-INF/templates/mobile/user_edit.tpl
index 7f81ca03..ecbff599 100644
--- a/WEB-INF/templates/mobile/user_edit.tpl
+++ b/WEB-INF/templates/mobile/user_edit.tpl
@@ -1,4 +1,13 @@
@@ -78,14 +95,11 @@ function handleClientControl() {
{$i18n.label.email}: |
{$forms.userForm.email.control} |
-{if $user->isManager() && ($user->id != $user_id)}
+{if $user->id != $user_id}
{$i18n.form.users.role}: |
{$forms.userForm.role.control} {$forms.userForm.client.control} |
-{/if}
-{* Prohibit deactivating team manager. Deactivating others is ok. *}
-{if $user->canManageTeam() && !($user->isManager() && $user->id == $user_id)}
{$i18n.label.status}: |
{$forms.userForm.status.control} |
@@ -105,7 +119,7 @@ function handleClientControl() {
{$i18n.label.required_fields} |
- {$forms.userForm.btn_submit.control} |
+ {$forms.userForm.btn_submit.control} {$forms.userForm.btn_delete.control} |