mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-12 17:50:46 +01:00
5914e98d43
* KB item 'last updated' only gets set on a new item * Allow linking to /tickets/submit/?queue=slug to pre-populate the 'Queue' folder
21 lines
930 B
HTML
21 lines
930 B
HTML
{% extends "helpdesk/public_base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_body %}
|
|
<h2>{% blocktrans with category.title as kbcat %}Knowledgebase Category: {{ kbcat }}{% endblocktrans %}</h2>
|
|
|
|
<p>{% blocktrans with category.title as kbcat %}You are viewing all items in the {{ kbcat }} category.{% endblocktrans %}</p>
|
|
|
|
<p>{{ category.description }}</p>
|
|
|
|
<table width='100%'>
|
|
<tr class='row_tablehead'><td colspan='3'>{% blocktrans with category.title as kbcat %}Knowledgebase Category: {{ kbcat }}{% endblocktrans %}</td></tr>
|
|
<tr class='row_columnheads'><th colspan='3'>{% trans "Article" %}</th></tr>
|
|
|
|
{% for item in items %}
|
|
<tr class='row_even row_hover'><th><a href='{{ item.get_absolute_url }}'>{{ item.title }}</a></th><td>Rating: {{ item.score }}</td><td>Last Update: {{ item.last_updated|timesince }} ago</td></tr>
|
|
<tr class='row_odd'><td colspan='3'>{{ item.question }}</td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|