mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:26:01 +01:00
Re-add pinned indicator to answerboxes
This commit is contained in:
parent
6c38f61d5c
commit
54cff294b2
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@
|
|||
= user_screen_name(a.user)
|
||||
·
|
||||
= link_to(time_tooltip(a), answer_path(a.user.screen_name, a.id), data: { selection_hotkey: "l" })
|
||||
- if a.pinned_at.present?
|
||||
%span.answerbox__pinned
|
||||
·
|
||||
%i.fa.fa-thumbtack
|
||||
= t(".pinned")
|
||||
.d-flex.d-md-block.answerbox__actions.ms-auto
|
||||
= render "answerbox/actions", a:, display_all:
|
||||
.card-footer{ id: "ab-comments-section-#{a.id}", class: display_all.nil? ? "d-none" : nil }
|
||||
|
|
Loading…
Reference in a new issue