mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Move columns around on wide categories page
This commit is contained in:
parent
50bd05663c
commit
eadf5e9b02
@ -4,11 +4,11 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class='category'>{{i18n categories.category}}</th>
|
<th class='category'>{{i18n categories.category}}</th>
|
||||||
|
<th class='latest'>{{i18n categories.latest}}</th>
|
||||||
<th class='num topics'>{{i18n categories.topics}}</th>
|
<th class='num topics'>{{i18n categories.topics}}</th>
|
||||||
<th class='num posts'>{{i18n categories.posts}}</th>
|
<th class='num posts'>{{i18n categories.posts}}
|
||||||
<th class='latest'>{{i18n categories.latest}}
|
|
||||||
{{#if canEdit}}
|
{{#if canEdit}}
|
||||||
<button title='{{i18n categories.toggle_ordering}}' class='btn toggle-admin no-text' {{action toggleOrdering}}><i class='fa fa-wrench'></i></button>
|
<button title='{{i18n categories.toggle_ordering}}' class='btn toggle-admin no-text' {{action toggleOrdering}}><i class='fa fa-wrench'></i></button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -52,8 +52,6 @@
|
|||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class='num'>{{number topic_count}}</td>
|
|
||||||
<td class='num'>{{number post_count}}</td>
|
|
||||||
<td {{bindAttr class="archived :latest"}}>
|
<td {{bindAttr class="archived :latest"}}>
|
||||||
{{#each featuredTopics}}
|
{{#each featuredTopics}}
|
||||||
<div class="featured-topic">
|
<div class="featured-topic">
|
||||||
@ -81,6 +79,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</td>
|
</td>
|
||||||
|
<td class='num'>{{number topic_count}}</td>
|
||||||
|
<td class='num'>{{number post_count}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -234,14 +234,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#topic-list.categories {
|
#topic-list.categories {
|
||||||
th.latest {
|
th.posts {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
th .toggle-admin {
|
th .toggle-admin {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
right: 5px;
|
right: -35px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
}
|
}
|
||||||
th.latest, td.latest {
|
th.latest, td.latest {
|
||||||
|
Loading…
Reference in New Issue
Block a user