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}}>
|
<td class='category' style={{border-color c.color}}>
|
||||||
<div>
|
<div>
|
||||||
{{category-title-link category=c}}
|
{{category-title-link category=c}}
|
||||||
{{category-unread category=c}}
|
|
||||||
{{#if c.logo_url}}
|
{{#if c.logo_url}}
|
||||||
{{category-logo-link category=c}}
|
{{category-logo-link category=c}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -31,8 +30,11 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class='stats' title={{c.statTitle}}>
|
<td class='stats'>
|
||||||
{{{c.stat}}}
|
<div title={{c.statTitle}}>
|
||||||
|
{{{c.stat}}}
|
||||||
|
</div>
|
||||||
|
{{category-unread category=c tagName="div" class="unread-new"}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
|
@ -237,6 +237,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-categories {
|
.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 {
|
.topic-list {
|
||||||
width: 48%;
|
width: 48%;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Loading…
Reference in a new issue