X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=a31a8cd05b2918631324a04237ea88738f2a774d;hb=e19990636073ca1aa353a67033dc0cec311fdab9;hp=5243daf4231f2cac8b2cd419ee536e0052ceb0f5;hpb=4c32352c1c34231ff49937b751c491c4a0880328;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index 5243daf4..a31a8cd0 100644
--- a/WEB-INF/templates/clients.tpl
+++ b/WEB-INF/templates/clients.tpl
@@ -5,7 +5,7 @@
-{if ($user->canManageTeam())}
+{if $user->can('manage_clients')}
{if $inactive_clients}
@@ -53,6 +53,21 @@
|
{/if}
+{else}
+
+
+
+
+
+ {if $active_clients}
+ {foreach $active_clients as $client}
+
+ {$client.name|escape} |
+ {$client.address|escape} |
+
+ {/foreach}
+ {/if}
+
{/if}
|