diff --git a/app/views/application/_answerbox.html.haml b/app/views/application/_answerbox.html.haml index b4b1e537..565447d1 100644 --- a/app/views/application/_answerbox.html.haml +++ b/app/views/application/_answerbox.html.haml @@ -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 }