X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fheader.tpl;h=87d2c4012caf4c7c081c12c7f79c4fb0fdd84ee5;hb=135b39df3ad421005e7f9c112fc7df1d44ebddc0;hp=03bfa18fce00e3a4797748527fc1c40277fcc03b;hpb=7fafd0cdc53c376b557a5504af53dacdfbcdb533;p=timetracker.git diff --git a/WEB-INF/templates/mobile/header.tpl b/WEB-INF/templates/mobile/header.tpl index 03bfa18f..87d2c401 100644 --- a/WEB-INF/templates/mobile/header.tpl +++ b/WEB-INF/templates/mobile/header.tpl @@ -21,11 +21,11 @@ {assign var="tab_width" value="300"} - +
- + {if $user->custom_logo} @@ -52,9 +52,53 @@
- + + +{if $authenticated} + {if $user->isAdmin()} + + + + + + +
  + {$i18n.menu.teams} · + {$i18n.menu.options} +
+ + {else} - + + + + + +
  + {if !$user->isClient()} + {$i18n.menu.time} + {/if} + {if $user->isPluginEnabled('ex') && !$user->isClient()} + · {$i18n.menu.expenses} + {/if} + {if !$user->isClient() && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + · {$i18n.menu.projects} + {/if} + {if $user->canManageTeam() && ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + · {$i18n.menu.tasks} + {/if} + {if !$user->isClient()} + · {$i18n.menu.users} + {/if} + {if $user->canManageTeam() && $user->isPluginEnabled('cl')} + · {$i18n.menu.clients} + {/if} +
+ + {/if} +{/if} + + {if $err->yes()} @@ -66,9 +110,9 @@
{/if} - + - + {if $msg->yes()} @@ -80,4 +124,4 @@
{/if} - +