mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-01-01 11:39:04 +01:00
18 lines
635 B
HTML
18 lines
635 B
HTML
{% extends "helpdesk/base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% trans "Reports & Statistics" %}{% endblock %}
|
|
|
|
{% block helpdesk_body %}
|
|
<h2>{% trans "Reports & Statistics" %}</h2>
|
|
|
|
<table>
|
|
<tr class='row_tablehead'><td colspan='{{ headings|length }}'>{{ title }}</td></tr>
|
|
<tr class='row_columnheads'>{% for h in headings %}<th>{% if forloop.first %}{{ h|title }}{% else %}{{ h }}{% endif %}</th>{% endfor %}</tr>
|
|
{% for d in data %}
|
|
<tr class='row_{% cycle odd,even %}'>{% for f in d %}<td>{{ f }}</td>{% endfor %}</tr>{% endfor %}
|
|
</table>
|
|
|
|
{% if chart %}<img src='{{ chart }}' />{% endif %}
|
|
|
|
{% endblock %}
|