2020-05-10 04:37:08 -07:00
|
|
|
.card{ data: { id: u.id } }
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2023-01-04 07:12:43 -08:00
|
|
|
.d-flex
|
|
|
|
.flex-shrink-0
|
2022-07-23 03:06:05 -07:00
|
|
|
%a{ href: user_path(u) }
|
2023-10-20 02:45:53 -07:00
|
|
|
= render AvatarComponent.new(user: u, size: "md", classes: ["me-2"])
|
2023-01-04 07:12:43 -08:00
|
|
|
.flex-grow-1
|
2023-10-20 15:28:50 -07:00
|
|
|
%h6.question__user
|
2021-12-23 13:01:56 -08:00
|
|
|
- if u.profile.display_name.blank?
|
2022-07-23 03:06:05 -07:00
|
|
|
%a{ href: user_path(u) }
|
2020-05-10 04:37:08 -07:00
|
|
|
= u.screen_name
|
2015-05-13 14:55:10 -07:00
|
|
|
- else
|
2022-07-23 03:06:05 -07:00
|
|
|
%a{ href: user_path(u) }
|
2021-12-23 13:01:56 -08:00
|
|
|
= u.profile.display_name
|
2020-05-10 04:37:08 -07:00
|
|
|
%span.text-muted= u.screen_name
|
2023-10-20 15:28:50 -07:00
|
|
|
%p.question__text= t(".#{type}", value: value, count: value)
|