X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fmobile%2Fheader.tpl;h=9e1c452da85bfcf3123def8dffa9700a402f19ee;hb=fc92f9cd36dcaeb96da37c699a61331805d9e2fc;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..9e1c452d 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->can('administer_site')}
+
+
+
+
+ {else}
-
+
+
+
+
+ {if $user->exists() && ($user->can('track_own_time') || $user->can('track_time'))}
+ {$i18n.menu.time}
+ {/if}
+ {if $user->exists() && $user->isPluginEnabled('ex') && ($user->can('track_own_expenses') || $user->can('track_expenses'))}
+ · {$i18n.menu.expenses}
+ {/if}
+ {if ($user->can('view_own_projects') || $user->can('manage_projects')) && ($smarty.const.MODE_PROJECTS == $user->getTrackingMode() || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode())}
+ · {$i18n.menu.projects}
+ {/if}
+ {if ($user->can('view_own_tasks') || $user->can('manage_tasks')) && $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode()}
+ · {$i18n.menu.tasks}
+ {/if}
+ {if $user->can('view_users') || $user->can('manage_users')}
+ · {$i18n.menu.users}
+ {/if}
+ {if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))}
+ · {$i18n.menu.clients}
+ {/if}
+ |
+
+
+
+ {/if}
+{/if}
+
+
{if $err->yes()}
{/if}
-
+
-
+
{if $msg->yes()}
{/if}
-
+
|