mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
move answer link to 'answered by username' section
This commit is contained in:
parent
cd076e8452
commit
c3905791b6
1 changed files with 5 additions and 5 deletions
|
@ -9,9 +9,8 @@
|
|||
%h6.text-muted.media-heading.answerbox--question-user
|
||||
= user_screen_name a.question.user, a.question.author_is_anonymous
|
||||
asked
|
||||
%a{href: show_user_answer_path(a.user.screen_name, a.id)}
|
||||
= time_ago_in_words(a.question.created_at)
|
||||
ago
|
||||
= time_ago_in_words(a.question.created_at)
|
||||
ago
|
||||
- unless a.question.author_is_anonymous
|
||||
- if a.question.answer_count > 1
|
||||
·
|
||||
|
@ -37,8 +36,9 @@
|
|||
%a{href: show_user_profile_path(a.user.screen_name)}
|
||||
%img.img-rounded.answerbox--img-small{src: gravatar_url(a.user)}
|
||||
%span= a.user.screen_name
|
||||
%span= time_ago_in_words(a.created_at)
|
||||
ago
|
||||
%a{href: show_user_answer_path(a.user.screen_name, a.id)}
|
||||
%span= time_ago_in_words(a.created_at)
|
||||
ago
|
||||
.col-md-6.col-sm-8.col-xs-5.text-right
|
||||
= render 'shared/answerbox_buttons', a: a
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue