mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 01:16:03 +01:00
add links to profile
This commit is contained in:
parent
f58ec9f2a6
commit
9aabccdddc
1 changed files with 4 additions and 2 deletions
|
@ -12,10 +12,12 @@
|
||||||
.media-body
|
.media-body
|
||||||
- if current_user.display_name.blank?
|
- if current_user.display_name.blank?
|
||||||
.profile--dropdown-username
|
.profile--dropdown-username
|
||||||
= current_user.screen_name
|
%a{href: show_user_profile_path(current_user.screen_name)}
|
||||||
|
= current_user.screen_name
|
||||||
- else
|
- else
|
||||||
.profile--dropdown-displayname
|
.profile--dropdown-displayname
|
||||||
= current_user.display_name
|
%a{href: show_user_profile_path(current_user.screen_name)}
|
||||||
|
= current_user.display_name
|
||||||
.profile--username
|
.profile--username
|
||||||
= current_user.screen_name
|
= current_user.screen_name
|
||||||
%li.divider.hidden-xs
|
%li.divider.hidden-xs
|
||||||
|
|
Loading…
Reference in a new issue