Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

banner: Allow label to be in HTML format.

apoorvapendse818a3365af1e
diff --git a/web/templates/components/banner.hbs b/web/templates/components/banner.hbs
index 7b3a08f32e3..1b7104f0062 100644
--- a/web/templates/components/banner.hbs
+++ b/web/templates/components/banner.hbs
@@ -1,7 +1,11 @@
<div {{#if process}}data-process="{{process}}"{{/if}} class="{{#if custom_classes}}{{custom_classes}} {{/if}}banner banner-{{intent}}">
<span class="banner-content">
<span class="banner-label">
- {{label}}
+ {{#if label}}
+ {{label}}
+ {{else}}
+ {{> @partial-block .}}
+ {{/if}}
</span>
<span class="banner-action-buttons">
{{#each buttons}}