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 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>
<form class="ui-settings-form">
<p>
{{t "Warning: the below features are experimental, and may not work as well as you would like." }}
</p>
<div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="autoscroll_forever" id="autoscroll_forever"
{{#if page_params.autoscroll_forever}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="autoscroll_forever" class="inline-block">
{{t "Always auto-scroll to new messages" }}
</label>
</div>
<div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="default_desktop_notifications" id="default_desktop_notifications"
{{#if page_params.default_desktop_notifications}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="default_desktop_notifications" class="inline-block">
{{t "Enable desktop notifications for new streams" }}
</label>
<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>
<form class="ui-settings-form">
<p>
{{t "Warning: the below features are experimental, and may not work as well as you would like." }}
</p>
<div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="autoscroll_forever" id="autoscroll_forever"
{{#if page_params.autoscroll_forever}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="autoscroll_forever" class="inline-block">
{{t "Always auto-scroll to new messages" }}
</label>
</div>
<div class="input-group">
<label class="checkbox">
<input type="checkbox" class="inline-block" name="default_desktop_notifications" id="default_desktop_notifications"
{{#if page_params.default_desktop_notifications}}
checked="checked"
{{/if}} />
<span></span>
</label>
<label for="default_desktop_notifications" class="inline-block">
{{t "Enable desktop notifications for new streams" }}
</label>
</div>
<div class="input-group no-border">
<div class="ui-submission">
<input type="submit" name="change_settings" value="{{t 'Save changes' }}" class="button white rounded sea-green" />
</div>
</div>
</form>
</div>
<div class="input-group no-border">
<div class="ui-submission">
<input type="submit" name="change_settings" value="{{t 'Save changes' }}" class="button white rounded sea-green" />
</div>
</div>
</form>
</div>

View File

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