From a021702aaddd34908620b51d7efec814d1f94021 Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 26 Nov 2024 14:52:08 +0300 Subject: [PATCH] revamp single question view template --- templates/view_question.html | 146 ++++++++++------------------------- 1 file changed, 40 insertions(+), 106 deletions(-) diff --git a/templates/view_question.html b/templates/view_question.html index 06917a1..02256a7 100644 --- a/templates/view_question.html +++ b/templates/view_question.html @@ -6,121 +6,27 @@ {% block content %}
- {#
-
-
-
-

- {% if question.from_who %} - {{ question.from_who | render_markdown }} - {% else %} - {{ cfg.anonName }} - {% endif %} -

-

{{ formatRelativeTime(str(question.creation_date)) }}

-
- {% include 'snippets/q-card-text.html' %} -
-
-
- {% if answer.cw %} -
{{ answer.cw | render_markdown }}
-
- {{ answer.content | render_markdown }} -
- - {% else %} -
{{ answer.content | render_markdown }}
- {% endif %} -
- -
#} - {% with answers=answer %} + {% with answers=answer, noManageBtns=True %} {% include 'snippets/layout/question_card.html' %} {% endwith %}
-