From 817c14c6c2098d85ef912fb95898c857bf533b4f Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 17 Apr 2019 20:19:08 +0000 Subject: [PATCH] Adjusted header.tpl for Work plugin. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/header.tpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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} -- 2.20.1