mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
banners: Redesign desktop notifications navbar banner.
As part of the banner redesign project, this commit applies the new banner styles to the desktop notifications navbar banner. This commit also acts as a base for the following banner redesign commits by defining the `banners.ts` module, which now acts as the centralized module to handle the banner rendering and sets up the common event listeners.
This commit is contained in:
@@ -4,10 +4,14 @@
|
||||
</span>
|
||||
<span class="banner-action-buttons">
|
||||
{{#each buttons}}
|
||||
{{> action-button .}}
|
||||
{{#if this.intent}}
|
||||
{{> action-button .}}
|
||||
{{else}}
|
||||
{{> action-button . intent=../intent}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</span>
|
||||
{{#if close_button}}
|
||||
{{> icon-button custom_classes="banner-close-button" icon="close" intent=intent}}
|
||||
{{> icon-button custom_classes="banner-close-action banner-close-button" icon="close" intent=intent}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user