move answer link to 'answered by username' section

This commit is contained in:
pixeldesu 2014-12-16 16:14:42 +01:00
parent cd076e8452
commit c3905791b6

View file

@ -9,7 +9,6 @@
%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
- unless a.question.author_is_anonymous
@ -37,6 +36,7 @@
%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
%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