mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 17:33:08 +01:00
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:
parent
2705880f82
commit
b535acbb8f
@ -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
|
2009-10-13 r142 Issue #117 Incorrect I18N usage in a few spots
|
||||||
Patch thanks to hgeerts.
|
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.
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<tr class='row_columnheads'><th>{% trans "Queue" %}</th><th>{% trans "Open" %}</th><th>{% trans "Resolved" %}</th></tr>
|
<tr class='row_columnheads'><th>{% trans "Queue" %}</th><th>{% trans "Open" %}</th><th>{% trans "Resolved" %}</th></tr>
|
||||||
{% for queue in dash_tickets %}
|
{% for queue in dash_tickets %}
|
||||||
<tr class='row_{% cycle odd,even %} row_hover '>
|
<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.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>
|
<td>{% if queue.resolved %}<a href='{% url helpdesk_list %}?queue={{ queue.queue }}&status=3'>{% endif %}{{ queue.resolved }}{% if queue.resolved %}</a>{% endif %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user