django-helpdesk/helpdesk/templates/helpdesk/kb_index.html
2016-10-31 02:57:08 -04:00

28 lines
1.0 KiB
HTML

{% 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>
{% 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 %}