Skip to content

localgovdrupal/localgov_alert_banner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalGovDrupal Alert banner

LocalGovDrupal Alert banner module, adds a global alert banner block and entity.

Order of alerts

In terms of order, it should be Notable Death -> Major -> Minor -> Announcement and then in date updated order.

Scheduling alert banners

Scheduling the publishing and unpublishing of alert banners is done using the Scheduled Transitions module. Scheduling is not enabled by default. To turn it on just enable the Scheduled Transitions module.

Disable provided CSS.

This module will provide default CSS colours so it can be used out the box. If you wish to theme these yourself, you can disable the provided CSS with the following code in your themes THEMENAME.info.yml file:

libraries-override:
  localgov_alert_banner/alert_banner:
    css:
      component:
        css/localgov-alert-banner.css: false

Maintainers

Current maintainers: