fix list tpl

This commit is contained in:
yuri
2018-02-28 11:48:29 +02:00
parent f2e6a4fc55
commit 70a0ffbf3d
+1 -7
View File
@@ -60,13 +60,7 @@
{{#each headerDefs}}
<th {{#if width}} width="{{width}}"{{/if}}{{#if align}} style="text-align: {{align}};"{{/if}}>
{{#if this.sortable}}
<a href="javascript:" class="sort" data-name="{{this.name}}">
{{#if this.hasCustomLabel}}
{{this.customLabel}}
{{else}}
{{translate this.name scope=../../../collection.name category='fields'}}
{{/if}}
</a>
<a href="javascript:" class="sort" data-name="{{this.name}}">{{#if this.hasCustomLabel}}{{this.customLabel}}{{else}}{{translate this.name scope=../../../collection.name category='fields'}}{{/if}}</a>
{{#if this.sorted}}{{#if this.asc}}<span class="caret"></span>{{else}}<span class="caret-up"></span>{{/if}}{{/if}}
{{else}}
{{#if this.hasCustomLabel}}