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