mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
banner: Allow label to be in HTML format.
This is done to later render the subscribe success and error messages using the banner template instead of using the banner classes in the subscription/memebership templates which requries us to duplicate the changes in banner.hbs at these places to avoid regressions. Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
8c503b856e
commit
818a3365af
@@ -1,7 +1,11 @@
|
|||||||
<div {{#if process}}data-process="{{process}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}banner banner-{{intent}}">
|
<div {{#if process}}data-process="{{process}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}banner banner-{{intent}}">
|
||||||
<span class="banner-content">
|
<span class="banner-content">
|
||||||
<span class="banner-label">
|
<span class="banner-label">
|
||||||
{{label}}
|
{{#if label}}
|
||||||
|
{{label}}
|
||||||
|
{{else}}
|
||||||
|
{{> @partial-block .}}
|
||||||
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
<span class="banner-action-buttons">
|
<span class="banner-action-buttons">
|
||||||
{{#each buttons}}
|
{{#each buttons}}
|
||||||
|
Reference in New Issue
Block a user