mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-02-07 22:10:15 +01:00
Standardises output between KB listing and KB items rating display (so that both are "n/10", where the listing was previously a float), and captures case where there may be no votes cast.
18 lines
547 B
HTML
18 lines
547 B
HTML
{% extends "helpdesk/public_base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% blocktrans with category.title as kbcat %}{{ kbcat }}{% endblocktrans %}{% endblock %}
|
|
|
|
{% block helpdesk_breadcrumb %}
|
|
<li class="breadcrumb-item">
|
|
<a href="{% url 'helpdesk:kb_index' %}">{% trans "Knowledgebase" %}</a>
|
|
</li>
|
|
<li class="breadcrumb-item active">{% blocktrans with category.title as kbcat %}{{ kbcat }}{% endblocktrans %}</li>
|
|
{% endblock %}
|
|
|
|
{% block helpdesk_body %}
|
|
{% include 'helpdesk/kb_category_base.html' %}
|
|
</div>
|
|
|
|
{% endblock %}
|