templates: Fix incorrect class name used for tooltips.

Tooltips of message retention and realm deactivation
should have appropriate class as per the setting and
not "realm_allow_message_deleting_tooltip" for all
the different tooltips.
This commit is contained in:
sahil839 2021-06-21 23:55:53 +05:30 committed by Tim Abbott
parent ce133dc762
commit 4170a2e969
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@
</div>
<h3 class="light">
{{t "Deactivate organization" }}
<i class="fa fa-info-circle settings-info-icon realm_allow_message_deleting_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can deactivate the organization.' }}"></i>
<i class="fa fa-info-circle settings-info-icon realm_deactivation_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can deactivate the organization.' }}"></i>
</h3>
<div class="deactivate-realm-section">
<div class="input-group">

View File

@ -89,7 +89,7 @@
<div class="inline-block organization-settings-parent">
<div class="input-group">
<label for="id_realm_message_retention_setting" class="dropdown-title">{{t "Message retention period" }}
<i class="fa fa-info-circle settings-info-icon realm_allow_message_deleting_tooltip tippy-zulip-tooltip"
<i class="fa fa-info-circle settings-info-icon realm_message_retention_tooltip tippy-zulip-tooltip"
aria-hidden="true" data-tippy-content="{{t 'Only owners can change message retention policy.' }}"></i>
</label>
<select name="realm_message_retention_setting"

View File

@ -38,7 +38,7 @@
<div class="input-group inline-block message-retention-setting-group">
<label for="stream_message_retention_setting" class="dropdown-title">{{t "Message retention period" }}
<i class="fa fa-info-circle settings-info-icon realm_allow_message_deleting_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change stream message retention policy.' }}"></i>
<i class="fa fa-info-circle settings-info-icon stream_message_retention_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change stream message retention policy.' }}"></i>
</label>
<select name="stream_message_retention_setting"
class="stream_message_retention_setting" class="prop-element"