X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fheader.tpl;h=8dc7bc999909fc9e0284c59e70f23c7c9ab70c38;hb=db7dd4684cf7d63cfd840119e6ea47a4a888f02b;hp=454365fbb88de61c56cb60cead88588dc090c713;hpb=40e7c879cbbc4f00227c039f1a86d48f81e10101;p=timetracker.git
diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl
index 454365fb..8dc7bc99 100644
--- a/WEB-INF/templates/header.tpl
+++ b/WEB-INF/templates/header.tpl
@@ -71,7 +71,7 @@
- {$i18n.menu.teams} ·
+ {$i18n.menu.groups} ·
{$i18n.menu.options}
|
@@ -119,13 +119,13 @@
{if ($user->can('view_own_projects') || $user->can('manage_projects')) && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
· {$i18n.menu.projects}
{/if}
- {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode) && $user->can('manage_tasks')}
+ {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode && ($user->can('view_own_tasks') || $user->can('manage_tasks')))}
· {$i18n.menu.tasks}
{/if}
{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')}