mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 02:07:49 +01:00
dose that work
This commit is contained in:
parent
9440eafbe8
commit
de1ef57a8a
1 changed files with 3 additions and 5 deletions
|
@ -8,12 +8,10 @@
|
||||||
.media-body
|
.media-body
|
||||||
%h6.text-muted.media-heading.answerbox--question-user
|
%h6.text-muted.media-heading.answerbox--question-user
|
||||||
= user_screen_name a.question.user, a.question.author_is_anonymous
|
= user_screen_name a.question.user, a.question.author_is_anonymous
|
||||||
- if @user.nil?
|
|
||||||
asked
|
asked
|
||||||
|
- if @user.nil? and a.question.author_is_anonymous
|
||||||
= time_ago_in_words(a.question.created_at)
|
= time_ago_in_words(a.question.created_at)
|
||||||
ago
|
|
||||||
- else
|
- else
|
||||||
asked
|
|
||||||
%a{href: show_user_question_path(a.question.user.screen_name, a.question.id)}
|
%a{href: show_user_question_path(a.question.user.screen_name, a.question.id)}
|
||||||
= time_ago_in_words(a.question.created_at)
|
= time_ago_in_words(a.question.created_at)
|
||||||
ago
|
ago
|
||||||
|
|
Loading…
Reference in a new issue