ui/lib/shared/addon/components/project-template-list/template.hbs

28 lines
719 B
Handlebars

<section>
<div class="box mb-20">
{{t 'projectList.indexTemplate.subtext' appName=settings.appName htmlSafe=true}}
</div>
</section>
<section>
{{#sortable-table
classNames="grid fixed mb-0 bordered sortable-table"
bulkActions=false
paging=true
search=true
sortBy=sortBy
descending=descending
headers=headers
body=model
as |sortable kind row|
}}
{{#if (eq kind "row")}}
{{project-template-row model=row}}
{{else if (eq kind "norows")}}
<tr>
<td colspan="{{sortable.fullColspan}}" class="text-center text-muted">{{t 'projectList.indexTemplate.table.body.noData'}}</td>
</tr>
{{/if}}
{{/sortable-table}}
</section>