X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=f03dfd0cf6546096ab56cb767f1e039101f5c7be;hb=ce4c2506404d648ba6e97552aa4ae17a58ea2fbd;hp=d3fadad93a2c2c1e5afcbc5fbcdf7362f4e3923a;hpb=30634c0b3869d459552df1da06ec264fb1e6b086;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index d3fadad9..f03dfd0c 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -17,8 +17,8 @@ {if $show_quota} {$i18n.label.quota} {/if} - {$i18n.label.edit} - {$i18n.label.delete} + + {if $active_users} {foreach $active_users as $u} @@ -35,8 +35,8 @@ {$u.quota_percent} {/if} {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} + {$i18n.label.edit} + {if $u.id != $user->id}{$i18n.label.delete}{else}{/if} {else} @@ -64,8 +64,8 @@ {if $show_quota} {$i18n.label.quota} {/if} - {$i18n.label.edit} - {$i18n.label.delete} + + {foreach $inactive_users as $u} @@ -76,8 +76,8 @@ {$u.quota_percent} {/if} {if $u.group_id != $user->group_id || $u.rank < $user->rank} - {$i18n.label.edit} - {$i18n.label.delete} + {$i18n.label.edit} + {$i18n.label.delete} {else}