2019-06-25 02:54:18 +02:00
|
|
|
{{#unless (eq render_only false)}}
|
2021-12-02 19:18:32 +01:00
|
|
|
<div class="input-group {{#if is_disabled}}control-label-disabled{{/if}}">
|
2018-03-23 19:52:46 +01:00
|
|
|
<label class="checkbox">
|
2024-05-28 15:52:21 +02:00
|
|
|
<input type="checkbox" class="{{setting_name}} inline-block setting-widget {{#unless skip_prop_element}}prop-element{{/unless}}" name="{{setting_name}}" data-setting-widget-type="boolean"
|
2023-03-22 10:12:15 +01:00
|
|
|
id="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}" {{#if is_checked}}checked="checked"{{/if}} {{#if is_disabled}}disabled{{/if}} />
|
2018-03-23 19:52:46 +01:00
|
|
|
<span></span>
|
|
|
|
</label>
|
2023-03-22 10:12:15 +01:00
|
|
|
<label for="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}" class="inline {{setting_name}}_label" id="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}_label">
|
2021-04-13 06:02:45 +02:00
|
|
|
{{label}}
|
2022-09-24 12:34:41 +02:00
|
|
|
{{#if label_parens_text}}
|
|
|
|
(<i>{{label_parens_text}}</i>)
|
|
|
|
{{/if}}
|
2020-04-02 20:42:37 +02:00
|
|
|
{{#if help_link}}
|
2020-05-15 20:43:31 +02:00
|
|
|
{{> ../help_link_widget link=help_link }}
|
2020-04-02 21:40:28 +02:00
|
|
|
{{/if}}
|
2022-08-05 12:13:21 +02:00
|
|
|
{{#if tooltip_text}}
|
|
|
|
<i class="tippy-zulip-tooltip fa fa-info-circle settings-info-icon" {{#if hide_tooltip}}style="display: none;"{{/if}} data-tippy-content="{{tooltip_text}}"></i>
|
|
|
|
{{/if}}
|
2018-03-23 19:52:46 +01:00
|
|
|
</label>
|
|
|
|
</div>
|
2019-06-25 02:54:18 +02:00
|
|
|
{{/unless}}
|