fix #83
This commit is contained in:
parent
9bffdec2a5
commit
c61b9ddf50
|
@ -54,7 +54,17 @@
|
|||
= render 'shared/answerbox_buttons', a: a
|
||||
- else
|
||||
.row
|
||||
.col-md-6.col-md-offset-6.col-sm-8.col-sm-offset-4.col-xs-6.col-xs-offset-6.text-right
|
||||
.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 }
|
||||
%div{id: "ab-smiles-#{a.id}"}= render 'shared/smiles', a: a
|
||||
|
|
Loading…
Reference in New Issue