X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=14c03321d6eb987fc2df537d29255e76b78b1b19;hb=62dc3d09ec2703764869f5e76e5bc82b351938a2;hp=95e59d506b26a33b3e9b969b3b4314435f2659e8;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl
index 95e59d50..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,9 +27,9 @@
-
+
{if $inactive_clients}
@@ -40,19 +40,19 @@
{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} |
{/foreach}
-
+
- {/if}
+ {/if}
{/if}
|