Add username to profile view
parent
3c8e3e85a4
commit
ddb0ac3a05
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue