Fix whitespace linting errors in handlebars templates.

This commit is contained in:
Tim Abbott 2016-04-08 11:42:45 -07:00
parent c6d01ab76b
commit 88b0c12193
6 changed files with 22 additions and 22 deletions

View File

@ -28,9 +28,9 @@
<form class="form-horizontal admin-realm-form">
<div class="control-group admin-realm">
<div class="alert" id="admin-realm-name-status"></div>
<div class="alert" id="admin-realm-restricted-to-domain-status"></div>
<div class="alert" id="admin-realm-invite-required-status"></div>
<div class="alert" id="admin-realm-invite-by-admins-only-status"></div>
<div class="alert" id="admin-realm-restricted-to-domain-status"></div>
<div class="alert" id="admin-realm-invite-required-status"></div>
<div class="alert" id="admin-realm-invite-by-admins-only-status"></div>
<label for="realm_name" class="control-label">Your organization's name</label>
<div class="controls">
<input type="text" id="id_realm_name" name="realm_name" class="admin-realm-name"
@ -40,19 +40,19 @@
<div class="control-group">
<label for="realm_restricted_to_domain" title="If checked, only users with an @{{ domain }} e-mail address will be able to join the organization." class="control-label">Users restricted to {{ domain }}</label>
<div class="controls">
<input type="checkbox" id="id_realm_restricted_to_domain" name="realm_restricted_to_domain" {{#if realm_restricted_to_domain}}checked="checked"{{/if}} />
<input type="checkbox" id="id_realm_restricted_to_domain" name="realm_restricted_to_domain" {{#if realm_restricted_to_domain}}checked="checked"{{/if}} />
</div>
</div>
<div class="control-group">
<label for="realm_invite_required" title="If checked, users must be invited in order to join your organization." class="control-label">E-mail invitation required</label>
<div class="controls">
<input type="checkbox" id="id_realm_invite_required" name="realm_invite_required" {{#if realm_invite_required}}checked="checked"{{/if}} />
<input type="checkbox" id="id_realm_invite_required" name="realm_invite_required" {{#if realm_invite_required}}checked="checked"{{/if}} />
</div>
</div>
<div class="control-group">
<label for="realm_invite_by_admins_only" id="id_realm_invite_by_admins_only_label" title="If checked, only administrators may invite new users." class="control-label{{#unless realm_invite_required}} control-label-disabled{{/unless}}">Only admins may invite</label>
<div class="controls">
<input type="checkbox" id="id_realm_invite_by_admins_only" name="realm_invite_by_admins_only" {{#unless realm_invite_required}}disabled="disabled"{{/unless}} {{#if realm_invite_by_admins_only}}checked="checked"{{/if}} />
<input type="checkbox" id="id_realm_invite_by_admins_only" name="realm_invite_by_admins_only" {{#unless realm_invite_required}}disabled="disabled"{{/unless}} {{#if realm_invite_by_admins_only}}checked="checked"{{/if}} />
</div>
</div>
<div class="controls organization-submission">

View File

@ -1,8 +1,8 @@
{{! Alert word in the settings page that can be removed }}
<li class="alert-word-item" data-word='{{word}}'>
{{#if editing}}
<input class="edit-alert-word input-medium" type="text" placeholder="Alert Word" /><button class="btn btn-default btn-mini add-alert-word" type="button">Add</button>
{{else}}
{{word}}<button class="btn btn-default btn-mini remove-alert-word" type="button"><i class="icon-vector-remove"></i></button>
{{/if}}
{{#if editing}}
<input class="edit-alert-word input-medium" type="text" placeholder="Alert Word" /><button class="btn btn-default btn-mini add-alert-word" type="button">Add</button>
{{else}}
{{word}}<button class="btn btn-default btn-mini remove-alert-word" type="button"><i class="icon-vector-remove"></i></button>
{{/if}}
</li>

View File

@ -1,7 +1,7 @@
<div class="compose_invite_user" data-useremail="{{email}}">
<strong>{{name}}</strong> is not subscribed to this stream.
<strong>{{name}}</strong> is not subscribed to this stream.
<div class="compose_invite_user_controls">
<span class="compose_invite_user_error alert alert-error" style="display: none;">Unable to subscribe user</span>
<button href="" class="compose_invite_link btn" >Subscribe</button><button type="button" class="compose_invite_close close">×</button>
<span class="compose_invite_user_error alert alert-error" style="display: none;">Unable to subscribe user</span>
<button href="" class="compose_invite_link btn" >Subscribe</button><button type="button" class="compose_invite_close close">×</button>
</div>
</div>

View File

@ -9,4 +9,4 @@
class="no_propagate_notifications btn btn-default btn-small">No</button>
</div>
</div>
</div>
</div>

View File

@ -212,7 +212,7 @@
</label>
</div>
<div id="other_notifications">
<div id="other_notifications">
<h4>Other notifications</h4>
<p>I want:</p>
@ -228,11 +228,11 @@
Digest emails when I'm away
</label>
</div>
{{!-- If you add another control group here, make sure to change
$("#other_notifications").hide(); in settings.js to
$("#digest_container").hide();
--}}
</div>
{{!-- If you add another control group here, make sure to change
$("#other_notifications").hide(); in settings.js to
$("#digest_container").hide();
--}}
</div>
<div class="control-group">
<div class="controls notification-submission">

View File

@ -21,4 +21,4 @@
{{/if}}
</li>
{{/each}}
</ul>
</ul>