X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fheader.tpl;h=aa59d3fff2fc29a512d50417bf557f02ec996d66;hb=3293ee1f5f59dca3c19a9b9ac21dca90e572b8dd;hp=a31eaeb7fe0363a7c4146ffa5ea21591cf3e02df;hpb=c2b4a52bc12c6ee6204fd03d1d1b2534b7249554;p=timetracker.git diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl index a31eaeb7..aa59d3ff 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -71,7 +71,7 @@ @@ -125,7 +125,7 @@ {if $user->can('view_users') || $user->can('manage_users')} · {$i18n.menu.users} {/if} - {if $user->isPluginEnabled('cl') && $user->can('manage_clients')} + {if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))} · {$i18n.menu.clients} {/if} {if $user->can('export_data')} @@ -158,7 +158,7 @@
  - {$i18n.menu.groups} · + {$i18n.menu.groups} · {$i18n.menu.options}
{if $user->name} - + {else} {/if}
{$title}{if $timestring}: {$timestring}{/if}
{$user->name|escape} - {$user->role_name|escape}{if $user->behalf_id > 0} {$i18n.label.on_behalf} {$user->behalf_name|escape}{/if}{if $user->team}, {$user->team|escape}{/if}
{$user->name|escape} - {$user->role_name|escape}{if $user->behalf_id > 0} {$i18n.label.on_behalf} {$user->behalf_name|escape}{/if}{if $user->group}, {$user->group|escape}{/if}