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