X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fheader.tpl;h=b5f122dbe571af516fbf28e209452363c54006a3;hb=eb300930267977a1caac0355200467e4bdf8b655;hp=a30669f2cf451cc4dedb066212a9858b034e1f9f;hpb=25ca552776a80fedd587231f56c8bc13c1836390;p=timetracker.git diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl index a30669f2..b5f122db 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -114,7 +114,11 @@ {/if} {if $user->exists() && ($user->can('view_own_reports') || $user->can('view_reports'))} · {$i18n.menu.reports} - {/if} + {/if} + {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('view_own_timesheets') || $user->can('manage_own_timesheets') || + $user->can('view_timesheets') || $user->can('manage_timesheets') || $user->can('approve_timesheets'))} + · {$i18n.menu.timesheets} + {/if} {if $user->exists() && $user->isPluginEnabled('iv') && ($user->can('view_own_invoices') || $user->can('manage_invoices'))} · {$i18n.title.invoices} {/if} @@ -149,7 +153,7 @@   {$i18n.menu.login} · - {if $smarty.const.MULTITEAM_MODE && $smarty.const.AUTH_MODULE == 'db'} + {if isTrue('MULTITEAM_MODE') && $smarty.const.AUTH_MODULE == 'db'} {$i18n.menu.create_group} · {/if} {$i18n.menu.forum} ·