X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fmobile%2Fheader.tpl;h=fdded891c265afedfeddbba283779043ad2f1958;hb=32e0397e34d3092eb2b89411ab97ee288f88038a;hp=f61b7119a98e976b024660bbdb2b907dd857e331;hpb=e0ec0364d761e2dff5a7c0032f04ec1dbae50980;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/header.tpl b/WEB-INF/templates/mobile/header.tpl
index f61b7119..fdded891 100644
--- a/WEB-INF/templates/mobile/header.tpl
+++ b/WEB-INF/templates/mobile/header.tpl
@@ -61,7 +61,7 @@
- {$i18n.menu.groups} ·
+ {$i18n.menu.groups} ·
{$i18n.menu.options}
|
@@ -82,13 +82,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 $user->can('manage_tasks') && $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode}
+ {if ($user->can('view_own_tasks') || $user->can('manage_tasks')) && $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode}
· {$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}