mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
hide images if anonymous and links to profiles
This commit is contained in:
parent
9f33ab5566
commit
3496cd7f0a
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
.panel.panel-default.answer-box{'data-id' => a.id}
|
||||
.panel-heading
|
||||
.media
|
||||
%a.pull-left{href: '#'}
|
||||
- unless a.question.author_is_anonymous
|
||||
%a.pull-left{href: show_user_profile_path(a.question.user.screen_name)}
|
||||
%img.img-rounded.img-answerbox{src: gravatar_url(a.question.user)}
|
||||
.media-body
|
||||
%h6.text-muted.media-heading.answerbox-question-user= user_screen_name a.question.user, a.question.author_is_anonymous
|
||||
|
|
Loading…
Reference in a new issue