mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-22 08:47:47 +01:00
readded links to questions on user profile
This commit is contained in:
parent
a09c01cc44
commit
4f777968e5
1 changed files with 9 additions and 3 deletions
|
@ -8,9 +8,15 @@
|
||||||
.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
|
||||||
= time_ago_in_words(a.question.created_at)
|
= time_ago_in_words(a.question.created_at)
|
||||||
ago
|
ago
|
||||||
|
- else
|
||||||
|
asked
|
||||||
|
%a{href: show_user_question_path(a.question.user.screen_name, a.question.id)}
|
||||||
|
= time_ago_in_words(a.question.created_at)
|
||||||
|
ago
|
||||||
- unless a.question.author_is_anonymous
|
- unless a.question.author_is_anonymous
|
||||||
- if a.question.answer_count > 1
|
- if a.question.answer_count > 1
|
||||||
·
|
·
|
||||||
|
|
Loading…
Reference in a new issue