Clean emoji-settings-admin.handlebars to use 4 space indents.

This commit is contained in:
Aditya Bansal 2017-04-15 08:58:31 +05:30 committed by Tim Abbott
parent 1f09e38101
commit 065dd9ae10
2 changed files with 30 additions and 31 deletions

View File

@ -1,33 +1,33 @@
<div id="emoji-settings" data-name="emoji-settings" class="settings-section">
<div class="settings-section-title"><i class="icon-vector-smile settings-section-icon"></i>
{{t "Custom emoji" }}</div>
<div class="admin-table-wrapper">
<p>{{#tr this}}Add extra emoji for members of the __realm_name__ organization.{{/tr}}</p>
<table class="table table-condensed table-striped admin_emoji_table">
<tbody id="admin_emoji_table">
<th>{{t "Name" }}</th>
<th class="image">{{t "Image" }}</th>
<th class="image">{{t "Author" }}</th>
{{#if is_admin}}<th class="actions">{{t "Actions" }}</th>{{/if}}
</tbody>
</table>
</div>
<form class="form-horizontal admin-emoji-form">
<div class="add-new-emoji-box grey-bg green-bg">
<div class="new-emoji-form">
<div class="settings-section-title new-emoji-section-title no-padding">{{t "Add a new emoji" }}</div>
<div class="alert" id="admin-emoji-status"></div>
<div class="input-group">
<label for="emoji_name">{{t "Emoji name" }}</label>
<input type="text" name="name" id="emoji_name" placeholder="mouse_face" />
</div>
<div class="input-group">
<label for="emoji_url">{{t "Emoji URL" }}</label>
<input type="text" name="url" id="emoji_url" placeholder="http://emojipedia-us.s3.amazonaws.com/cache/46/7f/467fe69069c408e07517621f263ea9b5.png" />
</div>
<input type="submit" class="button" value="{{t 'Add emoji' }}" />
</div>
<div class="settings-section-title"><i class="icon-vector-smile settings-section-icon"></i>
{{t "Custom emoji" }}</div>
<div class="admin-table-wrapper">
<p>{{#tr this}}Add extra emoji for members of the __realm_name__ organization.{{/tr}}</p>
<table class="table table-condensed table-striped admin_emoji_table">
<tbody id="admin_emoji_table">
<th>{{t "Name" }}</th>
<th class="image">{{t "Image" }}</th>
<th class="image">{{t "Author" }}</th>
{{#if is_admin}}<th class="actions">{{t "Actions" }}</th>{{/if}}
</tbody>
</table>
</div>
</form>
<form class="form-horizontal admin-emoji-form">
<div class="add-new-emoji-box grey-bg green-bg">
<div class="new-emoji-form">
<div class="settings-section-title new-emoji-section-title no-padding">{{t "Add a new emoji" }}</div>
<div class="alert" id="admin-emoji-status"></div>
<div class="input-group">
<label for="emoji_name">{{t "Emoji name" }}</label>
<input type="text" name="name" id="emoji_name" placeholder="mouse_face" />
</div>
<div class="input-group">
<label for="emoji_url">{{t "Emoji URL" }}</label>
<input type="text" name="url" id="emoji_url" placeholder="http://emojipedia-us.s3.amazonaws.com/cache/46/7f/467fe69069c408e07517621f263ea9b5.png" />
</div>
<input type="submit" class="button" value="{{t 'Add emoji' }}" />
</div>
</div>
</form>
</div>

View File

@ -225,7 +225,6 @@ def check_handlebar_templates(templates):
'static/templates/settings/deactivation-user-modal.handlebars',
'static/templates/settings/default-streams-list-admin.handlebars',
'static/templates/settings/display-settings.handlebars',
'static/templates/settings/emoji-settings-admin.handlebars',
'static/templates/settings/notification-settings.handlebars',
'static/templates/settings/organization-settings-admin.handlebars',
'static/templates/settings/realm-filter-settings-admin.handlebars',