clickthrough of alert banners, some more positioning, move them to front.

This commit is contained in:
Ralf Teusner
2017-03-15 11:34:27 +01:00
parent 5efa1e03af
commit c37f675893
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
#flash.fixed_error_messages data-message-failure=t('shared.message_failure')
#flash.fixed_error_messages.clickthrough data-message-failure=t('shared.message_failure')
- %w[alert danger info notice success warning].each do |severity|
p.alert.flash class="alert-#{{'alert' => 'warning', 'notice' => 'success'}.fetch(severity, severity)}" id="flash-#{severity}" = flash[severity]