2022-08-19 21:36:33 +02:00
|
|
|
<div
|
|
|
|
class="compose_banner {{banner_type}} {{classname}}"
|
2022-08-20 02:51:13 +02:00
|
|
|
{{#if user_id}}data-user-id="{{user_id}}"{{/if}}
|
2022-08-19 21:36:33 +02:00
|
|
|
{{#if stream_id}}data-stream-id="{{stream_id}}"{{/if}}
|
|
|
|
{{#if topic_name}}data-topic-name="{{topic_name}}"{{/if}}>
|
2022-08-19 22:24:06 +02:00
|
|
|
{{#if banner_text}}
|
2022-08-19 21:36:33 +02:00
|
|
|
<p class="banner_content">{{banner_text}}</p>
|
2022-08-19 22:24:06 +02:00
|
|
|
{{else}}
|
|
|
|
<div class="banner_content">{{> @partial-block}}</div>
|
|
|
|
{{/if}}
|
2022-08-19 21:36:33 +02:00
|
|
|
{{#if button_text}}
|
|
|
|
<button class="compose_banner_action_button" >{{button_text}}</button>
|
|
|
|
{{/if}}
|
|
|
|
<a role="button" class="zulip-icon zulip-icon-close compose_banner_close_button"></a>
|
|
|
|
</div>
|