From: Nik Okuntseff Date: Fri, 15 Feb 2019 15:36:32 +0000 (+0000) Subject: Added timesheets menu. X-Git-Tag: timetracker_1.19-1~331 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cc12768e670e4a553593a6c41bec7ccc568102d4;p=timetracker.git Added timesheets menu. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 4ad2ae4b..5ac739bf 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.37.4723 | Copyright © Anuko | +  Anuko Time Tracker 1.18.37.4724 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl index 86bc619c..b5f122db 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -114,7 +114,11 @@ {/if} {if $user->exists() && ($user->can('view_own_reports') || $user->can('view_reports'))} · {$i18n.menu.reports} - {/if} + {/if} + {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('view_own_timesheets') || $user->can('manage_own_timesheets') || + $user->can('view_timesheets') || $user->can('manage_timesheets') || $user->can('approve_timesheets'))} + · {$i18n.menu.timesheets} + {/if} {if $user->exists() && $user->isPluginEnabled('iv') && ($user->can('view_own_invoices') || $user->can('manage_invoices'))} · {$i18n.title.invoices} {/if}