Clean ui-settings.handlebars to use 4 space indents.

This commit is contained in:
Aditya Bansal 2017-04-26 08:18:01 +05:30 committed by Tim Abbott
parent 73cd6948de
commit af880b8bab
2 changed files with 36 additions and 37 deletions

View File

@ -1,39 +1,39 @@
<div id="ui-settings" class="settings-section" data-name="zulip-labs"> <div id="ui-settings" class="settings-section" data-name="zulip-labs">
<div class="settings-section-title"><i class="icon-vector-beaker settings-section-icon"></i> {{#tr this}}Experimental settings{{/tr}}</div> <div class="settings-section-title"><i class="icon-vector-beaker settings-section-icon"></i> {{#tr this}}Experimental settings{{/tr}}</div>
<div class="alert" id="ui-settings-status"></div> <div class="alert" id="ui-settings-status"></div>
<form class="ui-settings-form"> <form class="ui-settings-form">
<p> <p>
{{t "Warning: the below features are experimental, and may not work as well as you would like." }} {{t "Warning: the below features are experimental, and may not work as well as you would like." }}
</p> </p>
<div class="input-group"> <div class="input-group">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" class="inline-block" name="autoscroll_forever" id="autoscroll_forever" <input type="checkbox" class="inline-block" name="autoscroll_forever" id="autoscroll_forever"
{{#if page_params.autoscroll_forever}} {{#if page_params.autoscroll_forever}}
checked="checked" checked="checked"
{{/if}} /> {{/if}} />
<span></span> <span></span>
</label> </label>
<label for="autoscroll_forever" class="inline-block"> <label for="autoscroll_forever" class="inline-block">
{{t "Always auto-scroll to new messages" }} {{t "Always auto-scroll to new messages" }}
</label> </label>
</div> </div>
<div class="input-group"> <div class="input-group">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" class="inline-block" name="default_desktop_notifications" id="default_desktop_notifications" <input type="checkbox" class="inline-block" name="default_desktop_notifications" id="default_desktop_notifications"
{{#if page_params.default_desktop_notifications}} {{#if page_params.default_desktop_notifications}}
checked="checked" checked="checked"
{{/if}} /> {{/if}} />
<span></span> <span></span>
</label> </label>
<label for="default_desktop_notifications" class="inline-block"> <label for="default_desktop_notifications" class="inline-block">
{{t "Enable desktop notifications for new streams" }} {{t "Enable desktop notifications for new streams" }}
</label> </label>
</div> </div>
<div class="input-group no-border"> <div class="input-group no-border">
<div class="ui-submission"> <div class="ui-submission">
<input type="submit" name="change_settings" value="{{t 'Save changes' }}" class="button white rounded sea-green" /> <input type="submit" name="change_settings" value="{{t 'Save changes' }}" class="button white rounded sea-green" />
</div> </div>
</div> </div>
</form> </form>
</div> </div>

View File

@ -223,7 +223,6 @@ def check_handlebar_templates(templates):
'static/templates/settings/bot-list-admin.handlebars', 'static/templates/settings/bot-list-admin.handlebars',
'static/templates/settings/default-streams-list-admin.handlebars', 'static/templates/settings/default-streams-list-admin.handlebars',
'static/templates/settings/organization-settings-admin.handlebars', 'static/templates/settings/organization-settings-admin.handlebars',
'static/templates/settings/ui-settings.handlebars',
'static/templates/settings/user-list-admin.handlebars', 'static/templates/settings/user-list-admin.handlebars',
] ]
# TODO: Clean these files # TODO: Clean these files