Remove linking of (possibly) anonymous questions

I'll come back to properly linking this up later
This commit is contained in:
Andreas Nedbal 2024-03-02 22:34:12 +01:00 committed by Andreas Nedbal
parent 54cff294b2
commit 900fc1c646

View file

@ -17,11 +17,8 @@
· ·
%a{ href: question_path(@question.user.screen_name, @question.id), data: { selection_hotkey: "a" } } %a{ href: question_path(@question.user.screen_name, @question.id), data: { selection_hotkey: "a" } }
= t(".answers", count: @question.answer_count) = t(".answers", count: @question.answer_count)
· ·
= time_tooltip(@question) = time_tooltip(@question)
- else
·
= link_to(time_tooltip(@question), question_path(@question.user.screen_name, @question.id))
- if user_signed_in? - if user_signed_in?
.dropdown.d-inline .dropdown.d-inline
%button.btn.btn-link.btn-sm.p-0{ data: { bs_toggle: :dropdown }, aria: { expanded: false } } %button.btn.btn-link.btn-sm.p-0{ data: { bs_toggle: :dropdown }, aria: { expanded: false } }