UX: Show column headers on user topic lists
This commit is contained in:
parent
369bb78f8e
commit
00f06b8086
|
@ -1,12 +1,14 @@
|
||||||
<th data-sort-order='{{order}}' class='{{view.className}}'>
|
<th data-sort-order='{{order}}' class='{{view.className}}'>
|
||||||
{{~#if showBulkToggle}}
|
{{~#if canBulkSelect}}
|
||||||
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
{{~#if showBulkToggle}}
|
||||||
{{/if ~}}
|
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
||||||
{{~#if bulkSelectEnabled}}
|
{{/if ~}}
|
||||||
<span class='bulk-select-topics'>
|
{{~#if bulkSelectEnabled}}
|
||||||
<button class='btn bulk-select-all'>{{i18n "topics.bulk.select_all"}}</button>
|
<span class='bulk-select-topics'>
|
||||||
<button class='btn bulk-clear-all'>{{i18n "topics.bulk.clear_all"}}</button>
|
<button class='btn bulk-select-all'>{{i18n "topics.bulk.select_all"}}</button>
|
||||||
</span>
|
<button class='btn bulk-clear-all'>{{i18n "topics.bulk.clear_all"}}</button>
|
||||||
|
</span>
|
||||||
|
{{/if ~}}
|
||||||
{{/if ~}}
|
{{/if ~}}
|
||||||
{{view.localizedName}}
|
{{view.localizedName}}
|
||||||
{{~#if view.isSorting}}
|
{{~#if view.isSorting}}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
{{#if bulkSelectEnabled}}
|
{{#if bulkSelectEnabled}}
|
||||||
<th class='star'>
|
<th class='star'>
|
||||||
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
{{#if canBulkSelect}}
|
||||||
|
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
||||||
|
{{/if}}
|
||||||
</th>
|
</th>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{raw "topic-list-header-column" order='default' name='topic.title' bulkSelectEnabled=bulkSelectEnabled showBulkToggle=toggleInTitle}}
|
{{raw "topic-list-header-column" order='default' name='topic.title' bulkSelectEnabled=bulkSelectEnabled showBulkToggle=toggleInTitle canBulkSelect=canBulkSelect}}
|
||||||
{{#unless hideCategory}}
|
{{#unless hideCategory}}
|
||||||
{{raw "topic-list-header-column" sortable=sortable order='category' name='category_title'}}
|
{{raw "topic-list-header-column" sortable=sortable order='category' name='category_title'}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
|
@ -3,10 +3,8 @@
|
||||||
hideCategory=hideCategory
|
hideCategory=hideCategory
|
||||||
showParticipants=showParticipants
|
showParticipants=showParticipants
|
||||||
showPosters=showPosters
|
showPosters=showPosters
|
||||||
canBulkSelect=canBulkSelect
|
|
||||||
bulkSelectEnabled=bulkSelectEnabled
|
bulkSelectEnabled=bulkSelectEnabled
|
||||||
selected=selected
|
selected=selected}}
|
||||||
skipHeader=true}}
|
|
||||||
|
|
||||||
{{conditional-loading-spinner condition=model.loadingMore}}
|
{{conditional-loading-spinner condition=model.loadingMore}}
|
||||||
{{/load-more}}
|
{{/load-more}}
|
||||||
|
|
Loading…
Reference in New Issue