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.

settings: Add '.highlighted-element' to <b> in stream & group settings.

Prakhar Pratyush9c0777ad261a
diff --git a/web/templates/stream_settings/stream_permissions.hbs b/web/templates/stream_settings/stream_permissions.hbs
index 13ffed6bc2c..0f261878961 100644
--- a/web/templates/stream_settings/stream_permissions.hbs
+++ b/web/templates/stream_settings/stream_permissions.hbs
@@ -19,7 +19,7 @@
<div class="settings-radio-input-parent">
<label class="radio">
<input type="radio" name="privacy" value="{{ this.code }}" {{#if (eq this.code ../stream_privacy_policy) }}checked{{/if}} />
- <b>{{ this.name }}:</b> {{ this.description }}
+ <b class="highlighted-element">{{ this.name }}:</b> {{ this.description }}
</label>
</div>
{{/each}}
diff --git a/web/templates/user_group_settings/browse_user_groups_list_item.hbs b/web/templates/user_group_settings/browse_user_groups_list_item.hbs
index c73a2196d18..13aacd9fe1a 100644
--- a/web/templates/user_group_settings/browse_user_groups_list_item.hbs
+++ b/web/templates/user_group_settings/browse_user_groups_list_item.hbs
@@ -13,7 +13,8 @@
<template id="cannot-leave-{{name}}-because-of-subgroup-tooltip-template">
<span>
{{#tr}}
- You are a member of this group because you are a member of a subgroup (<b>{associated_subgroup_names}</b>).
+ You are a member of this group because you are a member of a subgroup (<z-highlight>{associated_subgroup_names}</z-highlight>).
+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}
{{/tr}}
</span>
</template>