- Issue created by @swirt
- πΊπΈUnited States skyriter
For my own clarity, are you thinking that the blocks are as follows:
Sitewide Alert
This is what comes "out of the box" with the sitewide_alert β module.
Sitewide Alert - USWDS Alert
- Alert - Informative
- Alert - Warning
- Alert - Success
- Alert - Error
- Alert - Emergency
What about Slim alert?
What about Alert with no icon?Sitewide Alert - USWDS Site Alert
- Alert - Informational
- Alert - Emergency
- Alert - Emergency with no header
- Alert - Emergency with list
What about Slim site alert?
What about Site alert with no icon?Sitewide Alert - Non-USWDS alerts
Why is would this type of alert a part of this module, given its purpose to provide USWDS alerts and site alerts?
- πΊπΈUnited States swirt Florida
Your summary is right.
Why is would this type of alert a part of this module, given its purpose to provide USWDS alerts and site alerts?
It is for the case where sites are using the sitewide_alert module for other things. Installing uswds_alert will render the default block provided by sitewide_alert unusable because it will blindly display all events. So we need to provide a replacement block for non USWDS style alerts.