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

28 lines
1.1 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 %}
{% ifequal catnumperrow 'one' %}<div class="row">{% endifequal %}
<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">
View <a href='{{ category.get_absolute_url }}'>{{ category.title }} articles <i class="fa fa-arrow-right"></i></a>
</div>
</div>
</div>
{% ifequal catnumperrow 'three' %}</div>{% endifequal %}
{% endfor %}
{% endblock %}