Add support for env var DEBSHOTS_ALERT_MESSAGE
If that environment variable is set then it will display on every page.
This commit is contained in:
parent
1a21007068
commit
c6296b882d
3 changed files with 11 additions and 0 deletions
|
|
@ -14,7 +14,10 @@ html
|
|||
|
||||
body
|
||||
= render 'layouts/topbar'
|
||||
|
||||
#content.grid-container
|
||||
- if Rails.configuration.alert_message
|
||||
.callout.warning.alert-callout-subtle.radius =Rails.configuration.alert_message
|
||||
#messages
|
||||
= render 'layouts/messages'
|
||||
= yield
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue