mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
UX: better user title on groups index page
This commit is contained in:
parent
f84341f8e0
commit
5c8302c789
2 changed files with 13 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
<span class="category">{{category-link p.category}}</span>
|
||||
<div class="user-info">
|
||||
{{#if p.user_long_name}}
|
||||
{{p.user_long_name}}{{#if p.user_title}}, {{p.user_title}}{{/if}}
|
||||
<span class="name">{{p.user_long_name}}</span>{{#if p.user_title}}<span class="title">, {{p.user_title}}</span>{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -494,6 +494,18 @@
|
|||
font-size: 1.714em;
|
||||
}
|
||||
}
|
||||
.user-info {
|
||||
.name {
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
color: scale-color($primary, $lightness: 30%);
|
||||
}
|
||||
.title {
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
color: scale-color($primary, $lightness: 50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.staff-counters {
|
||||
|
|
Loading…
Reference in a new issue