X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=a31a8cd05b2918631324a04237ea88738f2a774d;hb=83e5b07e961d0060f759dd8c59ef2c26d66b0c97;hp=7e0b19722546a3109dca093345c84bf0105bc646;hpb=3fa23f52efaf0293cd87536d02f5fb9681424be3;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index 7e0b1972..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}
@@ -27,7 +27,7 @@
{if $inactive_clients}
@@ -50,9 +50,24 @@
|
{/if}
+{else}
+
+
+
+
+
+ {if $active_clients}
+ {foreach $active_clients as $client}
+
+ {$client.name|escape} |
+ {$client.address|escape} |
+
+ {/foreach}
+ {/if}
+
{/if}