X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=34f53a919d861ad380bd9199dd93c62c31e1aaab;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=a052027b1015292d6181a096afb7438945660947;hpb=4c32352c1c34231ff49937b751c491c4a0880328;p=timetracker.git diff --git a/WEB-INF/templates/mobile/clients.tpl b/WEB-INF/templates/mobile/clients.tpl index a052027b..34f53a91 100644 --- a/WEB-INF/templates/mobile/clients.tpl +++ b/WEB-INF/templates/mobile/clients.tpl @@ -5,7 +5,7 @@
-{if ($user->canManageTeam())} +{if $user->can('manage_clients')} {if $inactive_clients} @@ -45,6 +45,21 @@
{$i18n.form.clients.active_clients}

{/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}