mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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}}
|
{{#if showNotificationPromptBanner}}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="consent_banner alert alert-info">
|
<div class="consent_banner alert alert-info">
|
||||||
{{d-button icon="times" action="dismiss" class="btn btn-flat close" title="banner.close"}}
|
<span>
|
||||||
{{i18n "user.desktop_notifications.consent_prompt"}} {{d-button display="link" action=(action "turnon") label="user.desktop_notifications.enable"}}.
|
{{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>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
Reference in New Issue
Block a user