mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-15 03:10:55 +01:00
c97a255155
* Added superuser 'System settings' page with links to admin * Added ability to ignore e-mail addresses (using wildcards) from the e-mail parser * Added link to ignore email address from ticket details page (for superusers only) * Cleaned up report output by styling text & labels in the same way as tables in other views * Cleaned up dashboard lists to show text in place of tickets if no tickets are found * Added ability to sort in reverse order NOTE: REQUIRES A 'syncdb' TO CREATE THE EMAIL-IGNORE TABLES. No other DB changes were made.
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{% extends "helpdesk/base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% trans "Ignored E-Mail Addresses" %}{% endblock %}
|
|
|
|
{% block helpdesk_body %}{% blocktrans %}
|
|
<h2>Ignored E-Mail Addresses</h2>
|
|
|
|
<p>The following e-mail addresses are currently being ignored by the incoming e-mail processor. You can <a href='add/'>add a new e-mail address to the list</a> or delete any of the items below as required.</p>{% endblocktrans %}
|
|
|
|
<table width='100%'>
|
|
<thead>
|
|
<tr class='row_tablehead'><td colspan='5'>{% trans "Ignored E-Mail Addresses" %}</td></tr>
|
|
<tr class='row_columnheads'><th>{% trans "Name" %}</th><th>{% trans "E-Mail Address" %}</th><th>{% trans "Date Added" %}</th><th>{% trans "Queues" %}</th><th>{% trans "Delete" %}</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ignore in ignore_list %}
|
|
<tr class='row_{% cycle odd,even %}'>
|
|
<td>{{ ignore.name }}</td>
|
|
<td>{{ ignore.email_address }}</td>
|
|
<td>{{ ignore.date }}</td>
|
|
<td>{% for queue in ignore.queues.all %}{{ queue.slug }}{% if not forloop.last %}, {% endif %}{% endfor %}{% if not ignore.queues.all %}All{% endif %}</td>
|
|
<td><a href='{% url helpdesk_email_ignore_del ignore.id %}'>Delete</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|