X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=4faf1249d469b4da8cfe539ef82294165a07b69e;hb=6f6512e1d85460b13910a3ce0e081750ae9a5642;hp=85d6efc8ca0d5e3db7162f19ceefd710f2499a19;hpb=6c7a98f61e74aeae700b523729abb49ff19d3704;p=timetracker.git
diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl
index 85d6efc8..4faf1249 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}
-
-
-
+
+
+
@@ -21,14 +31,14 @@
{foreach $active_users as $u}
- {if $user->uncompleted_indicators}
+ {if $uncompleted_indicators}
{/if}
{$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 || ($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 @@
|