settings: Add help link for "can_access_all_users_group" setting.

This commit is contained in:
Sahil Batra 2023-12-11 15:57:02 +05:30 committed by Tim Abbott
parent e525160021
commit d6e30ee3e8
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
<div class="input-group" id="{{widget_name}}_widget_container"> <div class="input-group" id="{{widget_name}}_widget_container">
<label class="dropdown-title" for="{{widget_name}}_widget">{{label}}</label> <label class="dropdown-title" for="{{widget_name}}_widget">{{label}}
{{#if help_link}}{{> help_link_widget link=help_link }}{{/if}}
</label>
<span class="prop-element hide" id="id_{{widget_name}}" data-setting-widget-type="dropdown-list-widget" {{#if value_type}}data-setting-value-type="{{value_type}}"{{/if}}></span> <span class="prop-element hide" id="id_{{widget_name}}" data-setting-widget-type="dropdown-list-widget" {{#if value_type}}data-setting-value-type="{{value_type}}"{{/if}}></span>
{{> dropdown_widget}} {{> dropdown_widget}}
</div> </div>

View File

@ -298,7 +298,8 @@
{{> ../dropdown_widget_with_label {{> ../dropdown_widget_with_label
widget_name="realm_can_access_all_users_group" widget_name="realm_can_access_all_users_group"
label=(t 'Who can view all other users in the organization') label=(t 'Who can view all other users in the organization')
value_type="number"}} value_type="number"
help_link="/help/guest-users#configure-whether-guests-can-see-all-other-users"}}
</div> </div>
</div> </div>