X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fusers.tpl;h=401751fcb6e83a0c207bdb28de4eef748d130da1;hb=d18d90a3f3050def6c646eef7d5420c2d2091393;hp=008413391a0e8fbb8079987ea1fe467de7c0776e;hpb=68a5cc5aff88d6144b6db95f7d01315c15e2ebda;p=timetracker.git diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index 00841339..401751fc 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -8,29 +8,35 @@ {if $user->can('manage_users')}
{$i18n.form.users.active_users} | |||||||||||||||||||||||||||||||||||
{$i18n.label.active_users} | |||||||||||||||||||||||||||||||||||
{$i18n.label.person_name} | {$i18n.label.login} | {$i18n.form.users.role} | -{$i18n.label.edit} | -{$i18n.label.delete} | + {if $show_quota} +{$i18n.label.quota} | + {/if} ++ | |||||||||||||||||||||||||||||
- {if $user->uncompleted_indicators} + {if $uncompleted_indicators} - {/if} + {/if} {$u.name|escape} | {$u.login|escape} | {$u.role_name|escape} | - {if $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} + {if $show_quota} + | {$u.quota_percent} | + {/if} + {if $u.group_id != $user->group_id || $u.rank < $user->rank || ($u.rank == $user->rank && $u.id == $user->id)} ++ {if $u.id != $user->id} | {else} | {/if} {else} | @@ -50,22 +56,28 @@ {if $inactive_users} |
{$i18n.form.users.inactive_users} | |||||||||
{$i18n.label.inactive_users} | |||||||||
{$i18n.label.person_name} | {$i18n.label.login} | {$i18n.form.users.role} | -{$i18n.label.edit} | -{$i18n.label.delete} | + {if $show_quota} +{$i18n.label.quota} | + {/if} ++ | |||
{$u.name|escape} | {$u.login|escape} | {$u.role_name|escape} | - {if $u.rank < $user->rank} -{$i18n.label.edit} | -{$i18n.label.delete} | + {if $show_quota} +{$u.quota_percent} | + {/if} + {if $u.group_id != $user->group_id || $u.rank < $user->rank} ++ | {else} | @@ -92,7 +104,12 @@ | |
{$u.name|escape} | ++ {if $uncompleted_indicators} + + {/if} + {$u.name|escape} + | {$u.login|escape} | {$u.role_name|escape} |