X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=34f53a919d861ad380bd9199dd93c62c31e1aaab;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=db0826caf4f2328110b9d790d93d100c6468763f;hpb=6856837ddde5cc90ac5dad2e5d67204036ec3158;p=timetracker.git diff --git a/WEB-INF/templates/mobile/clients.tpl b/WEB-INF/templates/mobile/clients.tpl index db0826ca..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} @@ -23,7 +23,7 @@
{$i18n.form.clients.active_clients}
- +


{if $inactive_clients} @@ -42,9 +42,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}