mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
confirm_dialog: Add highlighted-element class to <b> in confirm dialogs.
This commit adds 'highlighted-element' class to <b> tags in the following confirm dialogs: * delete topic * mute user * join user group 'highlighted-element' class sets the 'font-weight: 600', replacing the default of 700.
This commit is contained in:
committed by
Tim Abbott
parent
9eda1f11ca
commit
a37cea2c5f
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user