FIX: unmatched element prevents HTMLbars from compiling

This commit is contained in:
Erick Guan 2015-04-03 18:40:17 +08:00
parent 0f9a22b572
commit 2e7c5e5f35
7 changed files with 14 additions and 12 deletions

View File

@ -33,13 +33,15 @@
<li class='toggle-mobile'> <li class='toggle-mobile'>
<a {{bind-attr class="view.mobile:active"}} {{action "toggleMobile" target="view"}}>{{fa-icon "mobile"}}</a> <a {{bind-attr class="view.mobile:active"}} {{action "toggleMobile" target="view"}}>{{fa-icon "mobile"}}</a>
</li> </li>
<li class='toggle-maximize'><a {{action "toggleMaximize" target="view"}}> <li class='toggle-maximize'>
{{#if view.maximized}} <a {{action "toggleMaximize" target="view"}}>
{{fa-icon "compress"}} {{#if view.maximized}}
{{else}} {{fa-icon "compress"}}
{{fa-icon "expand"}} {{else}}
{{/if}} {{fa-icon "expand"}}
</a> {{/if}}
</a>
</li>
</ul> </ul>
</div> </div>

View File

@ -2,7 +2,7 @@
{{i18n 'admin.logs.screened_emails.description'}} {{i18n 'admin.logs.screened_emails.description'}}
<button class="btn pull-right" {{action "exportScreenedEmailList"}} title="{{i18n 'admin.export_csv.button_title.screened_email'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button> <button class="btn pull-right" {{action "exportScreenedEmailList"}} title="{{i18n 'admin.export_csv.button_title.screened_email'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
</p> </p>
</br> <br>
{{#loading-spinner condition=loading}} {{#loading-spinner condition=loading}}
{{#if model.length}} {{#if model.length}}

View File

@ -2,7 +2,7 @@
{{i18n 'admin.logs.screened_urls.description'}} {{i18n 'admin.logs.screened_urls.description'}}
<button class="btn pull-right" {{action "exportScreenedUrlList"}} title="{{i18n 'admin.export_csv.button_title.screened_url'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button> <button class="btn pull-right" {{action "exportScreenedUrlList"}} title="{{i18n 'admin.export_csv.button_title.screened_url'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
</p> </p>
</br> <br>
{{#loading-spinner condition=loading}} {{#loading-spinner condition=loading}}
{{#if model.length}} {{#if model.length}}

View File

@ -31,7 +31,7 @@
<div class="pull-right"> <div class="pull-right">
{{d-button action="exportStaffActionLogs" label="admin.export_csv.button_text" icon="download"}} {{d-button action="exportStaffActionLogs" label="admin.export_csv.button_text" icon="download"}}
</div> </div>
</br> <br>
<div class="staff-action-logs-instructions" {{bind-attr class=":staff-action-logs-instructions showInstructions::invisible"}}> <div class="staff-action-logs-instructions" {{bind-attr class=":staff-action-logs-instructions showInstructions::invisible"}}>
{{i18n 'admin.logs.staff_actions.instructions'}} {{i18n 'admin.logs.staff_actions.instructions'}}

View File

@ -19,6 +19,5 @@
</label> </label>
</div> </div>
{{/each}} {{/each}}
</ul>
{{/if}} {{/if}}
{{/if}} {{/if}}

View File

@ -1,3 +1,4 @@
<div id='wmd-button-bar'></div> <div id='wmd-button-bar'></div>
{{textarea value=value elementId="wmd-input"}} {{textarea value=value elementId="wmd-input"}}
<div id='wmd-preview' {{bind-attr class=":preview value::hidden"}}> <div id='wmd-preview' {{bind-attr class=":preview value::hidden"}}>
</div>

View File

@ -16,7 +16,7 @@
{{autofocus-text-field id='edit-title' value=buffered.title maxLength=maxTitleLength}} {{autofocus-text-field id='edit-title' value=buffered.title maxLength=maxTitleLength}}
{{else}} {{else}}
{{autofocus-text-field id='edit-title' value=buffered.title maxLength=maxTitleLength}} {{autofocus-text-field id='edit-title' value=buffered.title maxLength=maxTitleLength}}
</br> <br>
{{category-chooser valueAttribute="id" value=buffered.category_id source=buffered.category_id}} {{category-chooser valueAttribute="id" value=buffered.category_id source=buffered.category_id}}
{{/if}} {{/if}}