X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=a31a8cd05b2918631324a04237ea88738f2a774d;hb=1cf228c258ba8a8950b1a55bc25b93768bf50184;hp=7e0b19722546a3109dca093345c84bf0105bc646;hpb=3fa23f52efaf0293cd87536d02f5fb9681424be3;p=timetracker.git diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl index 7e0b1972..a31a8cd0 100644 --- a/WEB-INF/templates/clients.tpl +++ b/WEB-INF/templates/clients.tpl @@ -5,7 +5,7 @@
-{if ($user->canManageTeam())} +{if $user->can('manage_clients')} {if $inactive_clients} @@ -27,7 +27,7 @@
{$i18n.form.clients.active_clients}
- +


{if $inactive_clients} @@ -50,9 +50,24 @@
- +


{/if} +{else} + + + + + + {if $active_clients} + {foreach $active_clients as $client} + + + + + {/foreach} + {/if} +
{$i18n.label.thing_name}{$i18n.label.address}
{$client.name|escape}{$client.address|escape}
{/if}