Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose_banners: Add '.highlighted-element' to <b> in compose banners.
Prakhar Pratyush2005e5f616ba
diff --git a/web/templates/compose_banner/jump_to_sent_message_conversation_banner.hbs b/web/templates/compose_banner/jump_to_sent_message_conversation_banner.hbsindex 92db2855bad..296a6d634e8 100644--- a/web/templates/compose_banner/jump_to_sent_message_conversation_banner.hbs+++ b/web/templates/compose_banner/jump_to_sent_message_conversation_banner.hbs@@ -1,5 +1,9 @@{{#> compose_banner . }}<p class="banner_message">- {{#tr}}Viewing the conversation where you sent your message. To go back, use the <b>back</b> button in your browser or desktop app.{{/tr}}+ {{#tr}}+ Viewing the conversation where you sent your message. To go back, use the <z-highlight>back</z-highlight>+ button in your browser or desktop app.+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}+ {{/tr}}</p>{{/compose_banner}}diff --git a/web/templates/compose_banner/stream_does_not_exist_error.hbs b/web/templates/compose_banner/stream_does_not_exist_error.hbsindex fe38fbe497e..356e8ee569b 100644--- a/web/templates/compose_banner/stream_does_not_exist_error.hbs+++ b/web/templates/compose_banner/stream_does_not_exist_error.hbs@@ -1,9 +1,10 @@{{#> compose_banner . }}<p class="banner_message">{{#tr}}- The channel <b>#{channel_name}</b> does not exist. Manage your subscriptions+ The channel <z-highlight>#{channel_name}</z-highlight> does not exist. Manage your subscriptions<z-link>on your Channels page</z-link>.{{#*inline "z-link"}}<a href='#channels/all'>{{> @partial-block}}</a>{{/inline}}+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}{{/tr}}</p>{{/compose_banner}}diff --git a/web/templates/compose_banner/unknown_zoom_user_error.hbs b/web/templates/compose_banner/unknown_zoom_user_error.hbsindex 28d92204bc4..9474d750b58 100644--- a/web/templates/compose_banner/unknown_zoom_user_error.hbs+++ b/web/templates/compose_banner/unknown_zoom_user_error.hbs@@ -1,7 +1,8 @@{{#> compose_banner . }}<p class="banner_message">{{#tr}}- Your Zulip account email (<b>{email}</b>) is not linked to this organization's Zoom account.+ Your Zulip account email (<z-highlight>{email}</z-highlight>) is not linked to this organization's Zoom account.+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}{{/tr}}</p>{{/compose_banner}}diff --git a/web/templates/compose_banner/wildcard_mention_not_allowed_error.hbs b/web/templates/compose_banner/wildcard_mention_not_allowed_error.hbsindex 63307c39e60..0359be8782a 100644--- a/web/templates/compose_banner/wildcard_mention_not_allowed_error.hbs+++ b/web/templates/compose_banner/wildcard_mention_not_allowed_error.hbs@@ -1,9 +1,15 @@{{#> compose_banner . }}<p class="banner_message">{{#if wildcard_mention_string}}- {{#tr}}You do not have permission to use <b>@{wildcard_mention_string}</b> mentions in this channel.{{/tr}}+ {{#tr}}+ You do not have permission to use <z-highlight>@{wildcard_mention_string}</z-highlight> mentions in this channel.+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}+ {{/tr}}{{else}}- {{#tr}}You do not have permission to use <b>@topic</b> mentions in this topic.{{/tr}}+ {{#tr}}+ You do not have permission to use <z-highlight>@topic</z-highlight> mentions in this topic.+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}+ {{/tr}}{{/if}}</p>{{/compose_banner}}