mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-15 11:20:57 +01:00
dfb821336e
text to assist with future translation efforts. I've no doubt missed a few. Also we don't have a "Change Language" view in here, unsure if this should be a helpdesk function or a function of the parent project. * Updated svn:ignore to ignore .pyc files * Added new function to replace cursor.dictfetchall() which is available in psycopg1 but not psycopg2. New function should work across other database systems, but is untested.
16 lines
437 B
HTML
16 lines
437 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>{% for h in headings %}<th>{{ h }}</th>{% endfor %}</tr>
|
|
{% for d in data %}<tr>{% for f in d %}<td>{{ f }}</td>{% endfor %}</tr>{% endfor %}
|
|
</table>
|
|
|
|
{% if chart %}<img src='{{ chart }}' />{% endif %}
|
|
|
|
{% endblock %}
|