X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=34f53a919d861ad380bd9199dd93c62c31e1aaab;hb=32e0397e34d3092eb2b89411ab97ee288f88038a;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 @@
-{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,9 +42,24 @@
{/if}
+{else}
+
+
+
+
+
+ {if $active_clients}
+ {foreach $active_clients as $client}
+
+ {$client.name|escape} |
+ {$client.address|escape} |
+
+ {/foreach}
+ {/if}
+
{/if}