2023-02-02 17:29:51 +01:00
|
|
|
<div class="main-view-banner {{banner_type}} {{classname}}">
|
2024-05-01 20:24:02 +02:00
|
|
|
<div class="main-view-banner-elements-wrapper">
|
2023-02-02 17:29:51 +01:00
|
|
|
{{#if banner_text}}
|
|
|
|
<p class="banner_content">{{banner_text}}</p>
|
|
|
|
{{else}}
|
|
|
|
<div class="banner_content">{{> @partial-block}}</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if button_text}}
|
|
|
|
<button class="main-view-banner-action-button{{#if hide_close_button}} right_edge{{/if}}">{{button_text}}</button>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{#unless hide_close_button}}
|
|
|
|
<a role="button" class="zulip-icon zulip-icon-close main-view-banner-close-button"></a>
|
|
|
|
{{/unless}}
|
|
|
|
</div>
|