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.

confirm_dialog: Add highlighted-element class to <b> in confirm dialogs.

Prakhar Pratyusha37cea2c5f68
diff --git a/web/templates/confirm_dialog/confirm_delete_topic.hbs b/web/templates/confirm_dialog/confirm_delete_topic.hbs
index c13c7da0df0..f24b3d317e5 100644
--- a/web/templates/confirm_dialog/confirm_delete_topic.hbs
+++ b/web/templates/confirm_dialog/confirm_delete_topic.hbs
@@ -4,6 +4,6 @@
<p class="white-space-preserve-wrap">
{{#tr}}
Are you sure you want to permanently delete <z-topic-display-name></z-topic-display-name>?
- {{#*inline "z-topic-display-name"}}<span {{#if is_empty_string_topic}}class="empty-topic-display"{{/if}}><b>{{topic_display_name}}</b></span>{{/inline}}
+ {{#*inline "z-topic-display-name"}}<span {{#if is_empty_string_topic}}class="empty-topic-display"{{/if}}><b class="highlighted-element">{{topic_display_name}}</b></span>{{/inline}}
{{/tr}}
</p>
diff --git a/web/templates/confirm_dialog/confirm_join_group_direct_member.hbs b/web/templates/confirm_dialog/confirm_join_group_direct_member.hbs
index 2e57d63621d..1638c820689 100644
--- a/web/templates/confirm_dialog/confirm_join_group_direct_member.hbs
+++ b/web/templates/confirm_dialog/confirm_join_group_direct_member.hbs
@@ -1,4 +1,4 @@
<p>
- {{t "You are already a member of this group because you are a member of a subgroup"}} (<b>{{associated_subgroup_names}}</b>).
+ {{t "You are already a member of this group because you are a member of a subgroup"}} (<b class="highlighted-element">{{associated_subgroup_names}}</b>).
{{t "Are you sure you want to join it directly as well?" }}
</p>
diff --git a/web/templates/confirm_dialog/confirm_mute_user.hbs b/web/templates/confirm_dialog/confirm_mute_user.hbs
index 72d3f65abfd..1cb5b2ea131 100644
--- a/web/templates/confirm_dialog/confirm_mute_user.hbs
+++ b/web/templates/confirm_dialog/confirm_mute_user.hbs
@@ -1,5 +1,6 @@
<p>
{{#tr}}
- Are you sure you want to mute <b>{user_name}</b>? Messages sent by muted users will never trigger notifications, will be marked as read, and will be hidden.
+ Are you sure you want to mute <z-highlight>{user_name}</z-highlight>? Messages sent by muted users will never trigger notifications, will be marked as read, and will be hidden.
+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}
{{/tr}}
</p>