mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:48:30 +00:00
Ever since we started bundling the app with webpack, there’s been less and less overlap between our ‘static’ directory (files belonging to the frontend app) and Django’s interpretation of the ‘static’ directory (files served directly to the web). Split the app out to its own ‘web’ directory outside of ‘static’, and remove all the custom collectstatic --ignore rules. This makes it much clearer what’s actually being served to the web, and what’s being bundled by webpack. It also shrinks the release tarball by 3%. Signed-off-by: Anders Kaseorg <anders@zulip.com>
22 lines
1019 B
Handlebars
22 lines
1019 B
Handlebars
{{#unless (eq render_only false)}}
|
|
<div class="input-group {{#if is_disabled}}control-label-disabled{{/if}}">
|
|
<label class="checkbox">
|
|
<input type="checkbox" class="{{setting_name}} inline-block setting-widget prop-element" name="{{setting_name}}" data-setting-widget-type="boolean"
|
|
id="{{prefix}}{{setting_name}}" {{#if is_checked}}checked="checked"{{/if}} {{#if is_disabled}}disabled{{/if}} />
|
|
<span></span>
|
|
</label>
|
|
<label for="{{prefix}}{{setting_name}}" class="inline {{setting_name}}_label" id="{{prefix}}{{setting_name}}_label">
|
|
{{label}}
|
|
{{#if label_parens_text}}
|
|
(<i>{{label_parens_text}}</i>)
|
|
{{/if}}
|
|
{{#if help_link}}
|
|
{{> ../help_link_widget link=help_link }}
|
|
{{/if}}
|
|
{{#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}}
|
|
</label>
|
|
</div>
|
|
{{/unless}}
|