mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-20 07:56:04 +01:00
20 lines
593 B
Text
20 lines
593 B
Text
.panel.panel-default.questionbox{data: { id: u.id }}
|
|
.panel-body
|
|
.media
|
|
.pull-left
|
|
%img.answerbox--img{src: u.profile_picture.url(:medium)}
|
|
.media-body
|
|
%h6.media-heading
|
|
- if u.display_name.blank?
|
|
%span= u.screen_name
|
|
- else
|
|
%span= u.display_name
|
|
%span.text-muted= u.screen_name
|
|
%p.answerbox--question-text
|
|
- if type == "new"
|
|
registered
|
|
= time_ago_in_words(u.created_at)
|
|
ago
|
|
- else
|
|
asked
|
|
= pluralize(q, "question")
|