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.
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
{% extends "helpdesk/base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% trans "Ignore E-Mail Address" %}{% endblock %}
|
|
|
|
{% block helpdesk_body %}{% blocktrans %}
|
|
<h2>Ignore E-Mail Address</h2>
|
|
|
|
<p>To ignore an e-mail address and prevent any emails from that address creating tickets automatically, enter the e-mail address below.</p>
|
|
|
|
<p>You can either enter a whole e-mail address such as <em>email@domain.com</em> or a portion of an e-mail address with a wildcard, such as <em>*@domain.com</em> or <em>user@*</em>.</p>{% endblocktrans %}
|
|
|
|
<form method='post' action='./'>
|
|
|
|
<fieldset>
|
|
<dl>{% for field in form %}
|
|
<dt><label for='id_{{ field.name }}'>{{ field.label }}</label></dt>
|
|
<dd>{{ field }}</dd>
|
|
{% if field.errors %}<dd class='error'>{{ field.errors }}</dd>{% endif %}
|
|
{% if field.help_text %}<dd class='form_help_text'>{{ field.help_text }}</dd>{% endif %}
|
|
{% endfor %}</dl>
|
|
</fieldset>
|
|
|
|
<input type='submit' value='{% trans "Ignore E-Mail Address" %}' />
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|