X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=14c03321d6eb987fc2df537d29255e76b78b1b19;hb=dc00748e76b054fb1163f7a3835b686a752fbf8a;hp=eb46259f1a99d1de2db1271d0b55dc309613ef2d;hpb=0dcf21723daf12934f4977fcf24a0e1b1bff8021;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index eb46259f..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,9 +17,9 @@
{foreach $active_clients as $client}
-
- {$client.name|escape:'html'} |
- {$client.address|escape:'html'} |
+
+ {$client.name|escape} |
+ {$client.address|escape} |
{$i18n.label.edit} |
{$i18n.label.delete} |
@@ -27,7 +27,7 @@
{if $inactive_clients}
@@ -40,9 +40,9 @@
|
{foreach $inactive_clients as $client}
-
- {$client.name|escape:'html'} |
- {$client.address|escape:'html'} |
+
+ {$client.name|escape} |
+ {$client.address|escape} |
{$i18n.label.edit} |
{$i18n.label.delete} |
@@ -50,7 +50,7 @@
{/if}
{/if}