summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md8
-rw-r--r--client/components/main/header.jade13
2 files changed, 15 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f7bbf31b..bfbd739f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# Upcoming Wekan release
+
+This release fixes the following bugs:
+
+* [Admin announcement can be viewed without signing in](https://github.com/wekan/wekan/issues/1281).
+
+Thanks to Github user nztqa for contributions.
+
# v0.47 2017-10-04 Wekan release
This release adds the following new features:
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