FIX: correctlt styles notification-consent-banner (#8621)

TODO: this should be moved to new global notice API
This commit is contained in:
Joffrey JAFFEUX 2019-12-27 15:27:12 +01:00 committed by GitHub
parent 16d97573f9
commit 2f37f446f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,20 @@
{{#if showNotificationPromptBanner}}
<div class="row">
<div class="consent_banner alert alert-info">
{{d-button icon="times" action="dismiss" class="btn btn-flat close" title="banner.close"}}
{{i18n "user.desktop_notifications.consent_prompt"}} {{d-button display="link" action=(action "turnon") label="user.desktop_notifications.enable"}}.
<span>
{{i18n "user.desktop_notifications.consent_prompt"}}
{{d-button
display="link"
action=(action "turnon")
label="user.desktop_notifications.enable"
}}
.
</span>
{{d-button
icon="times"
action="dismiss"
class="btn btn-flat close" title="banner.close"
}}
</div>
</div>
{{/if}}