X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=14c03321d6eb987fc2df537d29255e76b78b1b19;hb=24364413261819a3a13dce97639fa6a3f670c4ca;hp=2d19b001edba9deee07a313575b014b4563c271c;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index 2d19b001..14c03321 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,7 +50,7 @@
{/if}
{/if}