Add username to profile view

stable
Xavier Julián 2015-06-26 08:19:52 +02:00
parent 3c8e3e85a4
commit ddb0ac3a05
2 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,7 @@ section.profile-bar
// span(translate="USER.PROFILE.FOLLOW")
div.profile-data
h1(ng-class="{'not-full-name': !vm.user.get('full_name')}") {{::vm.user.get("full_name_display")}}
.username @{{::vm.user.get("username")}}
h2 {{::vm.stats.get('roles').join(", ")}}
// div.location
// include ../../../svg/location.svg

View File

@ -66,8 +66,8 @@
h1 {
@extend %bold;
@extend %xlarge;
line-height: 1;
margin-bottom: .5rem;
line-height: 1.2;
margin-bottom: .25rem;
text-transform: none;
}
.not-full-name {
@ -80,6 +80,12 @@
line-height: 1.2;
margin-bottom: 1rem;
}
.username {
@extend %light;
@extend %large;
color: $gray-light;
margin-bottom: 1rem;
}
.location {
color: $gray-light;
margin-bottom: 1rem;