X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fheader.tpl;h=fdded891c265afedfeddbba283779043ad2f1958;hb=aeb30899d6ec142220d83b34fd8f6c68c05e8e90;hp=7118cfa4e89fb037199c0976446e2f413cb702d1;hpb=216d1c29ae204a1404a5d38cad77abce516e2386;p=timetracker.git diff --git a/WEB-INF/templates/mobile/header.tpl b/WEB-INF/templates/mobile/header.tpl index 7118cfa4..fdded891 100644 --- a/WEB-INF/templates/mobile/header.tpl +++ b/WEB-INF/templates/mobile/header.tpl @@ -61,7 +61,7 @@ @@ -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}
  - {$i18n.menu.teams} · + {$i18n.menu.groups} · {$i18n.menu.options}