mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
UX: unread/new topic counts under topic counts column in /categories
This commit is contained in:
parent
f27187c9e2
commit
4960365689
2 changed files with 13 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
<td class='category' style={{border-color c.color}}>
|
||||
<div>
|
||||
{{category-title-link category=c}}
|
||||
{{category-unread category=c}}
|
||||
{{#if c.logo_url}}
|
||||
{{category-logo-link category=c}}
|
||||
{{/if}}
|
||||
|
@ -31,8 +30,11 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td class='stats' title={{c.statTitle}}>
|
||||
{{{c.stat}}}
|
||||
<td class='stats'>
|
||||
<div title={{c.statTitle}}>
|
||||
{{{c.stat}}}
|
||||
</div>
|
||||
{{category-unread category=c tagName="div" class="unread-new"}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
|
|
@ -237,6 +237,14 @@
|
|||
}
|
||||
|
||||
.navigation-categories {
|
||||
.unread-new {
|
||||
a {
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
background-color: transparent;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 40%));
|
||||
}
|
||||
}
|
||||
.topic-list {
|
||||
width: 48%;
|
||||
float: left;
|
||||
|
|
Loading…
Reference in a new issue