mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 08:59:08 +01:00
fix #83
This commit is contained in:
parent
9bffdec2a5
commit
c61b9ddf50
1 changed files with 11 additions and 1 deletions
|
@ -54,7 +54,17 @@
|
||||||
= render 'shared/answerbox_buttons', a: a
|
= render 'shared/answerbox_buttons', a: a
|
||||||
- else
|
- else
|
||||||
.row
|
.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
|
= render 'shared/answerbox_buttons', a: a
|
||||||
.panel-footer{id: "ab-comments-section-#{a.id}", style: @display_all.nil? ? 'display: none' : nil }
|
.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
|
%div{id: "ab-smiles-#{a.id}"}= render 'shared/smiles', a: a
|
||||||
|
|
Loading…
Reference in a new issue