diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-09 14:48:05 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-09 14:48:05 +0300 |
commit | c84187bdadb7f1afaa8211773d1d1cb986709099 (patch) | |
tree | 41d5556359a113f19ec261cf7e0cba1aac6668a0 /client | |
parent | 23ff08382a7c7f947d36f8989eaac5b0825809eb (diff) | |
download | wekan-c84187bdadb7f1afaa8211773d1d1cb986709099.tar.gz wekan-c84187bdadb7f1afaa8211773d1d1cb986709099.tar.bz2 wekan-c84187bdadb7f1afaa8211773d1d1cb986709099.zip |
Fix: Admin announcement can be viewed without signing in.
Thanks to nztqa ! Closes #1281
Diffstat (limited to 'client')
-rw-r--r-- | client/components/main/header.jade | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/client/components/main/header.jade b/client/components/main/header.jade index 613dd736..51bccd09 100644 --- a/client/components/main/header.jade +++ b/client/components/main/header.jade @@ -49,12 +49,13 @@ template(name="header") if appIsOffline +offlineWarning - if hasAnnouncement - .announcement - p - i.fa.fa-bullhorn - | #{announcement} - i.fa.fa-times-circle.js-close-announcement + if currentUser.isBoardMember + if hasAnnouncement + .announcement + p + i.fa.fa-bullhorn + | #{announcement} + i.fa.fa-times-circle.js-close-announcement template(name="offlineWarning") .offline-warning |