X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=c10541faefc090c3ca54ef7fb3597c5abaf75b5d;hb=0a0a4488fe34267f070436a9e34b733388581728;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 @@
-{if ($user->canManageTeam())}
+{if $user->can('manage_clients')}
{if $inactive_clients}
@@ -15,7 +15,7 @@
{foreach $active_clients as $client}
-
+
{$client.name|escape} |
{$client.address|escape} |
@@ -23,7 +23,7 @@
{if $inactive_clients}
@@ -34,7 +34,7 @@
|
{foreach $inactive_clients as $client}
-
+
{$client.name|escape} |
{$client.address|escape} |
@@ -42,7 +42,7 @@
{/if}
{/if}