some more changes
This commit is contained in:
parent
55a4278c34
commit
1ef032e69e
|
@ -101,3 +101,17 @@
|
|||
height: 45px;
|
||||
width: 45px;
|
||||
}
|
||||
|
||||
.profile--dropdown-username {
|
||||
font-weight: 700;
|
||||
font-size: 1.2em;
|
||||
line-height: 1.33em;
|
||||
margin-top: 9.5px;
|
||||
}
|
||||
|
||||
.profile--dropdown-displayname {
|
||||
font-weight: 700;
|
||||
font-size: 1.2em;
|
||||
line-height: 1.33em;
|
||||
margin-top: 2px;
|
||||
}
|
|
@ -10,14 +10,15 @@
|
|||
%img.img-rounded.profile--dropdown-img{src: current_user.profile_picture.url(:medium)}
|
||||
.media-body
|
||||
- if current_user.display_name.blank?
|
||||
.profile--displayname
|
||||
.profile--dropdown-username
|
||||
= current_user.screen_name
|
||||
- else
|
||||
.profile--displayname
|
||||
.profile--dropdown-displayname
|
||||
= current_user.display_name
|
||||
.profile--username
|
||||
= current_user.screen_name
|
||||
%li= link_to "View profile", show_user_profile_path(current_user.screen_name)
|
||||
%li.divider.hidden-xs
|
||||
%li.visible-xs= link_to "View profile", show_user_profile_path(current_user.screen_name)
|
||||
%li= link_to "Settings", edit_user_registration_path
|
||||
%li.divider
|
||||
- if current_user.admin?
|
||||
|
|
Loading…
Reference in New Issue