X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fmobile%2Fclients.tpl;h=34f53a919d861ad380bd9199dd93c62c31e1aaab;hb=163beaf9eb740a868fc08e0d8361ac72c932185c;hp=a61320115643322e84d17ffe5fb146cde291254e;hpb=09bd3c14ba08e57c46fb53c66e9053d248682c06;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/clients.tpl b/WEB-INF/templates/mobile/clients.tpl
index a6132011..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}
@@ -34,17 +34,32 @@
|
{foreach $inactive_clients as $client}
-
- {$client.name|escape:'html'} |
- {$client.address|escape:'html'} |
+
+ {$client.name|escape} |
+ {$client.address|escape} |
{/foreach}
{/if}
+{else}
+
+
+
+
+
+ {if $active_clients}
+ {foreach $active_clients as $client}
+
+ {$client.name|escape} |
+ {$client.address|escape} |
+
+ {/foreach}
+ {/if}
+
{/if}