<divclass='filterBox{% if query_params.filtering.queue__id__in %} filterBoxShow{% endif %}'id='filterBoxQueue'>
<labelfor='id_queues'>{% trans "Queue(s)" %}</label><selectid='id_queues'name='queue'multiple='selected'size='5'>{% for q in queue_choices %}<optionvalue='{{ q.id }}'{%ifq.id|in_list:query_params.filtering.queue__id__in%}selected='selected'{%endif%}>{{ q.title }}</option>{% endfor %}</select>
<pclass='filterHelp'>Ctrl-click to select multiple options</p>
<divclass='filterBox{% if query_params.filtering.status__in %} filterBoxShow{% endif %}'id='filterBoxStatus'>
<labelfor='id_statuses'>{% trans "Status(es)" %}</label><selectid='id_statuses'name='status'multiple='selected'size='5'>{% for s in status_choices %}<optionvalue='{{ s.0 }}'{%ifs.0|in_list:query_params.filtering.status__in%}selected='selected'{%endif%}>{{ s.1 }}</option>{% endfor %}</select>
<pclass='filterHelp'>Ctrl-click to select multiple options</p>
<divclass='filterBox{% if query_params.tags %} filterBoxShow{% endif %}'id='filterBoxTags'>
<labelfor='id_tags'>{% trans "Tag(s)" %}</label><selectid='id_tags'name='tags'multiple='selected'size='5'>{% for t in tag_choices %}<optionvalue='{{t.name}}'{%ift.name|in_list:query_params.tags%}selected='selected'{%endif%}>{{ t.name }}</option>{% endfor %}</select>
<pclass='filterHelp'>Ctrl-click to select multiple options</p>
<ddclass='form_help_text'>{% trans "This name appears in the drop-down list of saved queries. If you share your query, other users will see this name, so choose something clear and descriptive!" %}</dd>
<dt><labelfor='id_shared'>{% trans "Shared?" %}</label></dt>
<dd><inputtype='checkbox'name='shared'id='id_shared'/> {% trans "Yes, share this query with other users." %}</dd>
<ddclass='form_help_text'>{% trans "If you share this query, it will be visible by <em>all</em> other logged-in users." %}</dd>
</dl>
<divclass='buttons'>
<inputtype='submit'value='{% trans "Save Query" %}'>
<trclass='row_tablehead'><tdcolspan='9'>{% trans "Tickets" %}</td></tr>
<trclass='row_columnheads'><th>#</th><th> </th><th>{% trans "Pr" %}</th><th>{% trans "Title" %}</th><th>{% trans "Queue" %}</th><th>{% trans "Status" %}</th><th>{% trans "Created" %}</th><th>{% trans "Owner" %}</th>{% if tags_enabled %}<th>{% trans "Tags" %}</th>{% endif %}</tr>
<ahref="?{{ query_string }}{% if query_string %}&{% else %}?{% endif %}page={{ tickets.previous_page_number }}">{% trans "Previous" %}</a>
{% endif %}
<spanclass="current">
{% blocktrans with tickets.number as ticket_num and tickets.paginator.num_pages as num_pages %}Page {{ ticket_num }} of {{ num_pages }}.{% endblocktrans %}
</span>
{% if tickets.has_next %}
<ahref="?{{ query_string }}{% if query_string %}&{% else %}?{% endif %}page={{ tickets.next_page_number }}">{% trans "Next" %}</a>