UX: better user title on groups index page

This commit is contained in:
Arpit Jalan 2015-07-06 23:58:37 +05:30
parent f84341f8e0
commit 5c8302c789
2 changed files with 13 additions and 1 deletions

View file

@ -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>

View file

@ -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 {