2008-05-07 11:04:18 +02:00
|
|
|
{% extends "helpdesk/public_base.html" %}{% load i18n %}
|
2008-01-16 04:23:43 +01:00
|
|
|
|
2008-01-16 01:26:24 +01:00
|
|
|
{% block helpdesk_body %}
|
2008-05-07 11:04:18 +02:00
|
|
|
<h2>{% trans "View a Ticket" %}</h2>
|
2008-01-16 01:26:24 +01:00
|
|
|
|
|
|
|
<form method='get' action='{% url helpdesk_public_view %}'>
|
|
|
|
<fieldset>
|
|
|
|
<dl>
|
2008-05-07 11:04:18 +02:00
|
|
|
<dt><label for='id_ticket'>{% trans "Ticket" %}</label></dt>
|
2008-01-16 01:26:24 +01:00
|
|
|
<dd><input type='text' name='ticket' /></dd>
|
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<dt><label for='id_email'>{% trans "Your E-mail Address" %}</label></dt>
|
2008-01-16 01:26:24 +01:00
|
|
|
<dd><input type='text' name='email' /></dd>
|
|
|
|
</dl>
|
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<input type='submit' value='{% trans "View Ticket" %}' />
|
2008-01-16 01:26:24 +01:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<h2 name='submit'>{% trans "Submit a Ticket" %}</h2>
|
2008-01-16 01:26:24 +01:00
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<p>{% trans "All fields are required. Please provide as descriptive a title and description as possible." %}</p>
|
2008-01-16 01:26:24 +01:00
|
|
|
|
|
|
|
<form method='post' action='./#submit'>
|
|
|
|
<fieldset>
|
|
|
|
<dl>
|
|
|
|
<dt><label for='id_queue'>{{ form.queue.label }}</label></dt>
|
|
|
|
<dd>{{ form.queue }}</dd>
|
|
|
|
{% if form.queue.errors %}
|
|
|
|
<dd class='error'>{{ form.queue.errors }}</dd>{% endif %}
|
|
|
|
|
|
|
|
<dt><label for='id_title'>{{ form.title.label }}</label></dt>
|
|
|
|
<dd>{{ form.title }}</dd>
|
|
|
|
{% if form.title.errors %}
|
|
|
|
<dd class='error'>{{ form.title.errors }}</dd>{% endif %}
|
|
|
|
|
|
|
|
<dt><label for='id_submitter_email'>{{ form.submitter_email.label }}</label></dt>
|
|
|
|
<dd>{{ form.submitter_email }}</dd>
|
|
|
|
{% if form.submitter_email.errors %}
|
|
|
|
<dd class='error'>{{ form.submitter_email.errors }}</dd>{% endif %}
|
|
|
|
<dd class='form_help_text'>{{ form.submitter_email.help_text }}</dd>
|
|
|
|
|
|
|
|
<dt><label for='id_body'>{{ form.body.label }}</label></dt>
|
|
|
|
<dd>{{ form.body }}</dd>
|
|
|
|
{% if form.body.errors %}
|
|
|
|
<dd class='error'>{{ form.body.errors }}</dd>{% endif %}
|
|
|
|
|
|
|
|
<dt><label for='id_priority'>{{ form.priority.label }}</label></dt>
|
|
|
|
<dd>{{ form.priority }}</dd>
|
|
|
|
{% if form.priority.errors %}
|
|
|
|
<dd class='error'>{{ form.priority.errors }}</dd>{% endif %}
|
|
|
|
<dd class='form_help_text'>{{ form.priority.help_text }}</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<div class='buttons'>
|
2008-05-07 11:04:18 +02:00
|
|
|
<input type='submit' value='{% trans "Submit Ticket" %}' />
|
2008-01-16 01:26:24 +01:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|