django-helpdesk/helpdesk/templates/helpdesk/kb_index.html

28 lines
1.0 KiB
HTML
Raw Normal View History

{% extends "helpdesk/public_base.html" %}{% load i18n %}
{% block helpdesk_body %}
<h2>{% trans "Knowledgebase" %}</h2>
<p>{% trans "We have listed a number of Knowledgebase articles for your perusal in the following categories. Please check to see if any of these articles address your problem prior to opening a support ticket." %}</p>
2011-02-06 23:51:25 +01:00
{% for category in kb_categories %}
{% cycle 'one' 'two' 'three' as catnumperrow silent %}
{% if catnumperrow == 'one' %}<div class="row">{% endif %}
<div class="col-lg-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3>{{ category.title }}</h3>
</div>
<div class="panel-body">
<p>{{ category.description }}</p>
</div>
<div class="panel-footer">
<a href='{{ category.get_absolute_url }}'>{% trans 'View articles' %}<i class="fa fa-arrow-right"></i></a>
</div>
</div>
</div>
{% if catnumperrow == 'three' %}</div>{% endif %}
{% endfor %}
{% endblock %}