X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=a31a8cd05b2918631324a04237ea88738f2a774d;hb=a4c1ced936fb1a1b71d4d34479a9c999aef4b338;hp=2d19b001edba9deee07a313575b014b4563c271c;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index 2d19b001..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}
@@ -17,7 +17,7 @@
{foreach $active_clients as $client}
-
+
{$client.name|escape} |
{$client.address|escape} |
{$i18n.label.edit} |
@@ -27,7 +27,7 @@
{if $inactive_clients}
@@ -40,7 +40,7 @@
|
{foreach $inactive_clients as $client}
-
+
{$client.name|escape} |
{$client.address|escape} |
{$i18n.label.edit} |
@@ -50,9 +50,24 @@
{/if}
+{else}
+
+
+
+
+
+ {if $active_clients}
+ {foreach $active_clients as $client}
+
+ {$client.name|escape} |
+ {$client.address|escape} |
+
+ {/foreach}
+ {/if}
+
{/if}