X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fheader.tpl;h=86bc619ce99e5fa2aa6bfb59fadb6b29652f9f35;hb=16e71d9c6e94475534579b79a53f7c2ee0de4192;hp=a31eaeb7fe0363a7c4146ffa5ea21591cf3e02df;hpb=c2b4a52bc12c6ee6204fd03d1d1b2534b7249554;p=timetracker.git diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl index a31eaeb7..86bc619c 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -71,7 +71,7 @@
- {$i18n.menu.groups} · + {$i18n.menu.groups} · {$i18n.menu.options} | ||||||
{$i18n.menu.logout} ·
- {if $user->can('manage_own_settings')}
+ {if $user->exists() && $user->can('manage_own_settings')}
{$i18n.menu.profile} ·
{/if}
{if $user->can('manage_basic_settings')}
{$i18n.menu.group} ·
+ {/if}
+ {if $user->can('manage_subgroups')}
+ {$i18n.menu.subgroups} ·
+ {/if}
+ {if $user->can('manage_features')}
+ {$i18n.menu.plugins} ·
{/if}
{$i18n.menu.forum} ·
{$i18n.menu.help}
@@ -100,32 +106,33 @@
|