From: Nik Okuntseff Date: Wed, 17 Apr 2019 20:19:08 +0000 (+0000) Subject: Adjusted header.tpl for Work plugin. X-Git-Tag: timetracker_1.19-1~74 X-Git-Url: http://wagnertech.de/git?p=timetracker.git;a=commitdiff_plain;h=817c14c6c2098d85ef912fb95898c857bf533b4f Adjusted header.tpl for Work plugin. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 131e8c6b..2f05c21d 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.65.4956 | Copyright © Anuko | +  Anuko Time Tracker 1.18.65.4957 | 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 d25f1281..c830e984 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -138,6 +138,9 @@ {if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))} · {$i18n.menu.clients} {/if} + {if $user->exists() && $user->isPluginEnabled('wk') && ($user->can('do_work') || $user->can('bid_on_work') || $user->can('manage_work'))} + · {$i18n.title.work} + {/if} {if $user->can('export_data')} · {$i18n.menu.export} {/if}