mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 04:43:55 +08:00
FIX: correctlt styles notification-consent-banner (#8621)
TODO: this should be moved to new global notice API
This commit is contained in:
parent
16d97573f9
commit
2f37f446f8
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user