mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-15 03:10:55 +01:00
3f8fc2cd68
* Added 'UserSettings' model to provide a user profile system independent of existing Django user profiles, for two reasons: 1) Avoids users having to update settings.py and 2) Allows jutda-helpdesk to integrate with websites who already use a User Profile * Settings added in this revision allow a user to control e-mail alerts, and to determine whether they see the dashboard or ticket list at login. * New 'Settings' link in page footer for signed-in users * Logout now takes you to the Helpdesk homepage * Fixed file attachment bug in management/commands/get_email.py which seemed to have been un-done (fixes issue # 4. Jutda-helpdesk is now compatible with Django 1.0!
23 lines
822 B
HTML
23 lines
822 B
HTML
{% extends "helpdesk/base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% trans "Change User Settings" %}{% endblock %}
|
|
|
|
{% block helpdesk_body %}{% blocktrans %}
|
|
<h2>User Settings</h2>
|
|
|
|
<p>Use the following options to change the way your helpdesk system works for you. These settings do not impact any other user.</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 "Save Options" %}' />
|
|
</form>
|
|
|
|
{% endblock %}
|