From e448491bf1374e617f8eb5c5d0d54663c41664f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Wed, 26 Feb 2020 10:23:11 +0100 Subject: [PATCH] more blocks to the KB_category_base template, HTML validity fixes --- .../templates/helpdesk/kb_category_base.html | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/helpdesk/templates/helpdesk/kb_category_base.html b/helpdesk/templates/helpdesk/kb_category_base.html index 8ca89bd7..418e35c3 100644 --- a/helpdesk/templates/helpdesk/kb_category_base.html +++ b/helpdesk/templates/helpdesk/kb_category_base.html @@ -1,37 +1,40 @@ {% load i18n %} {% block header %}

{% blocktrans with category.title as kbcat %}{{ kbcat }}{% endblocktrans %}

-

{{ category.description|linebreaks }}

+{{ category.description|linebreaks }} {% endblock %} + +{% block item_list %}
{% for item in items %}
- -
+
+
+ {% block card_body %}

{{ item.question }}

-

{{ item.get_markdown }}

+ {{ item.get_markdown }}
@@ -41,16 +44,18 @@
+ {% endblock %}
{% endfor %}
+{% endblock %} {% block footer %} {% endblock %} {% if category.queue %} {% block submit_button %} - +
{% trans 'Contact a human' %}
{% endblock %}
{% endif %}