X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=fb46c96d6b795e077b1a8798deb4a69cf3d93397;hb=722638fd8cc9400c5228106537effa1dcd0f7fa5;hp=f47435322261a9510046b0a8d2ee1b2ebb198974;hpb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;p=timetracker.git
diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl
index f4743532..fb46c96d 100644
--- a/WEB-INF/templates/users.tpl
+++ b/WEB-INF/templates/users.tpl
@@ -6,14 +6,24 @@
{if $user->can('manage_users')}
+ {if $group_dropdown}
+{$forms.usersForm.open} {* usersForm consists only of one dropdown group control *}
+
+
+ {$i18n.label.group}: {$forms.usersForm.group.control} |
+
+
+{$forms.usersForm.close}
+ {/if}
+
{if $inactive_users}
{/if}
-
-
-
+
+
+
@@ -28,7 +38,7 @@
{$u.login|escape} |
{$u.role_name|escape} |
- {if $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
+ {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)}
{$i18n.label.edit} |
{if $u.id != $user->id}{$i18n.label.delete} | {else} | {/if}
{else}
@@ -52,9 +62,9 @@
-
-
-
+
+
+
@@ -63,7 +73,7 @@
{$u.name|escape} |
{$u.login|escape} |
{$u.role_name|escape} |
- {if $u.rank < $user->rank}
+ {if $u.group_id != $user->group_id || $u.rank < $user->rank}
{$i18n.label.edit} |
{$i18n.label.delete} |
{else}
|