X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=34f53a919d861ad380bd9199dd93c62c31e1aaab;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=00a19eee7d50c9cf2a4ebf2ab188c5a519ea2572;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git diff --git a/WEB-INF/templates/mobile/clients.tpl b/WEB-INF/templates/mobile/clients.tpl index 00a19eee..34f53a91 100644 --- a/WEB-INF/templates/mobile/clients.tpl +++ b/WEB-INF/templates/mobile/clients.tpl @@ -5,7 +5,7 @@ {foreach $inactive_clients as $client} - + @@ -42,9 +42,24 @@
-{if ($user->canManageTeam())} +{if $user->can('manage_clients')} {if $inactive_clients} @@ -15,7 +15,7 @@ {foreach $active_clients as $client} - + @@ -23,7 +23,7 @@
{$i18n.form.clients.active_clients}
{$i18n.label.address}
{$client.name|escape} {$client.address|escape}
- +


{if $inactive_clients} @@ -34,7 +34,7 @@
{$i18n.label.address}
{$client.name|escape} {$client.address|escape}
- +


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