X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fclients.tpl;h=ca93b92f59acaf31a66197f0ce9ecd06542d0c1f;hb=9c1005341a3db52333fcb732960acbdf03fbe4e7;hp=eb46259f1a99d1de2db1271d0b55dc309613ef2d;hpb=0dcf21723daf12934f4977fcf24a0e1b1bff8021;p=timetracker.git diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl index eb46259f..ca93b92f 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')}
| |||||||||||||||||
{$i18n.label.person_name} | {$i18n.label.address} | -{$i18n.label.edit} | -{$i18n.label.delete} | ++ | |||||||||||||
{$client.name|escape:'html'} | -{$client.address|escape:'html'} | -{$i18n.label.edit} | -{$i18n.label.delete} | +||||||||||||||
{$client.name|escape} | +{$client.address|escape} | ++ |
{$i18n.label.thing_name} | +{$i18n.label.address} | +
{$client.name|escape} | +{$client.address|escape} | +