Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 952 Bytes

emergency-banner.md

File metadata and controls

28 lines (19 loc) · 952 Bytes

Emergency banner

See the opsmanual for information about what the Emergency Banner is and when it should be deployed.

Running the Emergency Banner locally

Deploying the Emergency banner

bundle exec rake emergency_banner:deploy['{campaign_class}','{heading}','{short_description}','{link}','{link_text}']

Where

  • campaign_class is the type of banner. At the moment this is should be one of "notable-death", "national-emergency" or "local-emergency"
  • heading is the <H1> title
  • short_description is the text that appears under the title
  • link is the more information link
  • 'link_text' is the anchor text for the more information link above. Defaults to "More information"

N.B. Don't add spaces between the parameters.

Removing the Emergency banner

bundle exec rake emergency_banner:remove