Remove human-readable "Answered by" answerbox text
This commit is contained in:
parent
fb6e6458c4
commit
9bc41e31ec
|
@ -9,10 +9,18 @@
|
||||||
= markdown a.content
|
= markdown a.content
|
||||||
- if a.long? && !display_all
|
- if a.long? && !display_all
|
||||||
= render "shared/collapse", type: "answer"
|
= render "shared/collapse", type: "answer"
|
||||||
|
.d-md-flex
|
||||||
|
.text-muted
|
||||||
|
.d-flex.align-items-center
|
||||||
|
.flex-shrink-0
|
||||||
|
%a{ href: user_path(a.user) }
|
||||||
|
= render AvatarComponent.new(user: a.user, size: "sm", classes: ["answerbox__answer-user-avatar"])
|
||||||
|
.flex-grow-1
|
||||||
|
%h6.answerbox__answer-user
|
||||||
|
= user_screen_name(a.user)
|
||||||
·
|
·
|
||||||
%i.fa.fa-thumbtack
|
= link_to(time_tooltip(a), answer_path(a.user.screen_name, a.id), data: { selection_hotkey: "l" })
|
||||||
= t(".pinned")
|
.d-flex.d-md-block.answerbox__actions.ms-auto
|
||||||
.col-md-6.d-md-flex.answerbox__actions
|
|
||||||
= render "answerbox/actions", a:, display_all:
|
= render "answerbox/actions", a:, display_all:
|
||||||
.card-footer{ id: "ab-comments-section-#{a.id}", class: display_all.nil? ? "d-none" : nil }
|
.card-footer{ id: "ab-comments-section-#{a.id}", class: display_all.nil? ? "d-none" : nil }
|
||||||
= turbo_frame_tag("ab-reactions-list-#{a.id}", src: reactions_path(a.question, a), loading: :lazy) do
|
= turbo_frame_tag("ab-reactions-list-#{a.id}", src: reactions_path(a.question, a), loading: :lazy) do
|
||||||
|
|
Loading…
Reference in New Issue