JPBetley / pulse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to have a banner message above slider

vladionescu opened this issue · comments

Useful for maintenance alerts, and things like prompting donations during Radiothon.

Quick and dirty solution on the old site, this code was added to line 50 of /srv/www/

            <div id="banner_notice" style="
                background-color: #f9ec33;
                border-radius: 2px;
                margin-top: -5px;
                margin-bottom: 15px;">
                <p style="text-align:center;padding: 4px 2px;">
                       Our Listen Live streams are undergoing maintenance 11:45 AM EST to 12:45 PM EST. Tune in on 89.7 MHz FM!

Screenshot of banner

Proposed feature:

  • Make the banner content setable through a place in the admin menu
  • Have on/off switch in the admin menu for the banner
  • Include a start date and end date for displaying banner

Resolved by PR #79

Setable in Admin->System Settings.