X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3fa23f52efaf0293cd87536d02f5fb9681424be3..7905a1bf102ca6b3cef20dad2d249f415c614eeb:/WEB-INF/templates/clients.tpl 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}