docbrown/app/assets
Vaidehi Joshi f04b0a7336
Display site-wide announcements (#8301)
* Serialize broadcast_data within AsyncInfoController::base_data

Adds a `broadcast:` key to our `base_data`, regardless of whether a user is logged in or not.
If a broadcast is not present, passes along a `nil` value.

* Initialize active broadcast (if present) when rendering main page

* Allow admins to preview a broadcast's processed_html when editing

* Add some fixed position styling to active broadcast

* Add system specs around broadcasts on homepage

* Use sanitize in place of html_safe when previewing broadcast

* Do not initialize broadcast if no broadcastData available

* Render default value on broadcast in options_for_select

* JS cleanup

* Unset fixed positioning for static navbar config

Also add some default styling for an active broadcast
2020-06-08 13:52:53 -04:00
..
config Generalize search.xml (#8250) 2020-06-03 08:49:25 -04:00
fonts feat: add per-user Open Dyslexic font setting (#5037) [deploy] 2020-01-20 18:23:57 -05:00
images [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
javascripts Display site-wide announcements (#8301) 2020-06-08 13:52:53 -04:00
stylesheets Display site-wide announcements (#8301) 2020-06-08 13:52:53 -04:00
xml Generalize search.xml (#8250) 2020-06-03 08:49:25 -04:00