Only render announcements in SL.

This commit is contained in:
Paulo Reis 2017-12-21 12:57:07 +00:00
parent d5502fd502
commit 484d34e296
2 changed files with 40 additions and 38 deletions

View file

@ -307,4 +307,5 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
chatMessageBorderLightness : if isOl then "40%" else "70%"
chatMessageBgSaturation : if isOl then "85%" else "60%"
chatMessageBgLightness : if isOl then "40%" else "97%"
renderAnnouncements : if isOl then false else true
next()

View file

@ -16,6 +16,7 @@ block content
}
};
if uiConfig.renderAnnouncements
.announcements(
ng-controller="AnnouncementsController"
ng-class="{ 'announcements-open': ui.isOpen }"