Issue #113: When clicking a queue name on the dashboard, show only open

tickets by default. Thanks to Andreas Kotowicz for the suggestion.
This commit is contained in:
Ross Poulton 2009-10-13 10:32:02 +00:00
parent 2705880f82
commit b535acbb8f
2 changed files with 5 additions and 1 deletions

View File

@ -16,3 +16,7 @@ templaets, defaulting to English if no locale is provided.
2009-10-13 r142 Issue #117 Incorrect I18N usage in a few spots
Patch thanks to hgeerts.
2009-10-13 r143 Issue #113 - Clicking Queue names on the Dashboard was showing
all tickets; now only shows open tickets. Thanks to Andreas Kotowicz for the
sugestion.

View File

@ -10,7 +10,7 @@
<tr class='row_columnheads'><th>{% trans "Queue" %}</th><th>{% trans "Open" %}</th><th>{% trans "Resolved" %}</th></tr>
{% for queue in dash_tickets %}
<tr class='row_{% cycle odd,even %} row_hover '>
<th><a href='{% url helpdesk_list %}?queue={{ queue.queue }}'>{{ queue.name }}</a></th>
<th><a href='{% url helpdesk_list %}?queue={{ queue.queue }}&status=1&status=2'>{{ queue.name }}</a></th>
<td>{% if queue.open %}<a href='{% url helpdesk_list %}?queue={{ queue.queue }}&status=1&status=2'>{% endif %}{{ queue.open }}{% if queue.open %}</a>{% endif %}</td>
<td>{% if queue.resolved %}<a href='{% url helpdesk_list %}?queue={{ queue.queue }}&status=3'>{% endif %}{{ queue.resolved }}{% if queue.resolved %}</a>{% endif %}</td>
</tr>