projects
/
timetracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
817c14c
)
Cosmetic.
author
Nik Okuntseff
<support@anuko.com>
Wed, 17 Apr 2019 20:21:10 +0000
(20:21 +0000)
committer
Nik Okuntseff
<support@anuko.com>
Wed, 17 Apr 2019 20:21:10 +0000
(20:21 +0000)
WEB-INF/templates/header.tpl
patch
|
blob
|
history
diff --git
a/WEB-INF/templates/header.tpl
b/WEB-INF/templates/header.tpl
index
c830e98
..
0fa5d70
100644
(file)
--- a/
WEB-INF/templates/header.tpl
+++ b/
WEB-INF/templates/header.tpl
@@
-138,7
+138,7
@@
{if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))}
· <a class="mainMenu" href="clients.php">{$i18n.menu.clients}</a>
{/if}
{if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))}
· <a class="mainMenu" href="clients.php">{$i18n.menu.clients}</a>
{/if}
- {if $user->
exists() && $user->isPluginEnabled('wk') && ($user->can('do_work') || $user->can('bid_on_work') || $user->can('manage_work')
)}
+ {if $user->
isPluginEnabled('wk') && ($user->can('do_work') || $user->can('bid_on_work') || $user->can('manage_work')) && $user->exists(
)}
· <a class="mainMenu" href="work.php">{$i18n.title.work}</a>
{/if}
{if $user->can('export_data')}
· <a class="mainMenu" href="work.php">{$i18n.title.work}</a>
{/if}
{if $user->can('export_data')}