Update external ticketing system
This commit is contained in:
parent
cc1a48ee6f
commit
b361abeaf6
3 changed files with 68 additions and 55 deletions
|
@ -4,56 +4,61 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<h2>{{ task }}</h2>
|
||||
<h2>{{ task }}</h2>
|
||||
|
||||
<form action="" method="POST">
|
||||
{% csrf_token %}
|
||||
<form action="" method="POST">
|
||||
{% csrf_token %}
|
||||
|
||||
{% if task.note %}
|
||||
<div class="task_note"><strong>Note:</strong> {{ task.note|safe|urlize|linebreaks }}</div>
|
||||
{% endif %}
|
||||
{% comment %}
|
||||
|
||||
{% if task.note %}
|
||||
<div class="task_note">
|
||||
<strong>Note:</strong>
|
||||
{{ task.note|safe|urlize|linebreaks }}</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="TaskEdit">
|
||||
<h3>File Trouble Ticket</h3>
|
||||
<p>Do you have a support issue? <br />
|
||||
Use this form to report the difficulty - we'll get right back to you. </p>
|
||||
<h3>File Trouble Ticket</h3>
|
||||
<p>Do you have a support issue?
|
||||
<br/>
|
||||
Use this form to report the difficulty - we'll get right back to you.
|
||||
</p>
|
||||
|
||||
{% if form.errors %}
|
||||
{% if form.errors %}
|
||||
{% for error in form.errors %}
|
||||
<ul class="errorlist">
|
||||
<li>
|
||||
<strong>The
|
||||
{{ error|escape }}
|
||||
field is required.</strong>
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% for error in form.errors %}
|
||||
<ul class="errorlist">
|
||||
<li><strong>The {{ error|escape }} field is required.</strong></li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
<br />
|
||||
<table>
|
||||
<tr>
|
||||
<td>Summary:</td>
|
||||
<td>{{ form.title }}
|
||||
<br/>
|
||||
Include the workstation number in your summary, e.g.
|
||||
<br/>
|
||||
"Radio Lab # 4: Purple smoke pouring out the back."
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td valign="top">Note:</td>
|
||||
<td valign="top">{{ form.note }}<br/>
|
||||
Please describe the problem.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Summary:</td>
|
||||
<td>{{ form.title }} <br />
|
||||
Include the workstation number in your summary, e.g. <br />
|
||||
"Radio Lab # 4: Purple smoke pouring out the back."
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><input type="submit" class="todo-button" name="add_task" value="Submit"></p>
|
||||
{% endcomment %}
|
||||
|
||||
<tr>
|
||||
<td valign="top">Note:</td>
|
||||
<td valign="top">{{ form.note }}<br />
|
||||
Please describe the problem.
|
||||
</td>
|
||||
</tr>
|
||||
{{ form.as_p }}
|
||||
<p><input type="submit" class="todo-button" name="add_task" value="Submit"></p>
|
||||
|
||||
<tr>
|
||||
<td>Priority:</td>
|
||||
<td>{{ form.priority }} <br />
|
||||
Enter a number between 1 and 5, <br />
|
||||
where 5 is highest ("Computer is on fire = True").
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><input type="submit" class="todo-button" name="add_task" value="Submit"></p>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue