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