mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08: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>
|
<span class="category">{{category-link p.category}}</span>
|
||||||
<div class="user-info">
|
<div class="user-info">
|
||||||
{{#if p.user_long_name}}
|
{{#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}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -494,6 +494,18 @@
|
||||||
font-size: 1.714em;
|
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 {
|
.staff-counters {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue