mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:32:44 -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%"
|
chatMessageBorderLightness : if isOl then "40%" else "70%"
|
||||||
chatMessageBgSaturation : if isOl then "85%" else "60%"
|
chatMessageBgSaturation : if isOl then "85%" else "60%"
|
||||||
chatMessageBgLightness : if isOl then "40%" else "97%"
|
chatMessageBgLightness : if isOl then "40%" else "97%"
|
||||||
|
renderAnnouncements : if isOl then false else true
|
||||||
next()
|
next()
|
||||||
|
|
|
@ -16,6 +16,7 @@ block content
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if uiConfig.renderAnnouncements
|
||||||
.announcements(
|
.announcements(
|
||||||
ng-controller="AnnouncementsController"
|
ng-controller="AnnouncementsController"
|
||||||
ng-class="{ 'announcements-open': ui.isOpen }"
|
ng-class="{ 'announcements-open': ui.isOpen }"
|
||||||
|
|
Loading…
Reference in a new issue