mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 23:14:04 -05:00
Only render announcements in SL.
This commit is contained in:
parent
d5502fd502
commit
484d34e296
2 changed files with 40 additions and 38 deletions
|
@ -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()
|
||||
|
|
|
@ -16,6 +16,7 @@ block content
|
|||
}
|
||||
};
|
||||
|
||||
if uiConfig.renderAnnouncements
|
||||
.announcements(
|
||||
ng-controller="AnnouncementsController"
|
||||
ng-class="{ 'announcements-open': ui.isOpen }"
|
||||
|
|
Loading…
Reference in a new issue