X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=c10541faefc090c3ca54ef7fb3597c5abaf75b5d;hb=6c7a98f61e74aeae700b523729abb49ff19d3704;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..c10541fa 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,7 +42,7 @@
-{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} {/if}