show answer link in all cases

This commit is contained in:
Andreas N 2015-02-18 00:07:38 +01:00
parent c61b9ddf50
commit a451cab3e9
1 changed files with 2 additions and 7 deletions

View File

@ -55,15 +55,10 @@
- else
.row
.col-md-6.col-sm-4.col-xs-6.text-left.text-muted
- if a.question.author_is_anonymous?
%i.fa.fa-clock-o
%a{href: show_user_answer_path(a.user.screen_name, a.id)}
%span= time_ago_in_words(a.created_at)
ago
- else
%i.fa.fa-clock-o
%span= time_ago_in_words(a.created_at)
ago
.col-md-6.col-sm-8.col-xs-6.text-right
= render 'shared/answerbox_buttons', a: a
.panel-footer{id: "ab-comments-section-#{a.id}", style: @display_all.nil? ? 'display: none' : nil }