From 900fc1c64620f6d47b2a1665d3836f657be4a941 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 2 Mar 2024 22:34:12 +0100 Subject: [PATCH] Remove linking of (possibly) anonymous questions I'll come back to properly linking this up later --- .../question_component/question_component.html.haml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/components/question_component/question_component.html.haml b/app/components/question_component/question_component.html.haml index ef08c7ae..4b38e4cc 100644 --- a/app/components/question_component/question_component.html.haml +++ b/app/components/question_component/question_component.html.haml @@ -17,11 +17,8 @@ · %a{ href: question_path(@question.user.screen_name, @question.id), data: { selection_hotkey: "a" } } = t(".answers", count: @question.answer_count) - · - = time_tooltip(@question) - - else - · - = link_to(time_tooltip(@question), question_path(@question.user.screen_name, @question.id)) + · + = time_tooltip(@question) - if user_signed_in? .dropdown.d-inline %button.btn.btn-link.btn-sm.p-0{ data: { bs_toggle: :dropdown }, aria: { expanded: false } }