{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {% from 'allura:templates/jinja_master/lib.html' import abbr_date with context %}
{% if solr_error %}

{{solr_error}}

{% endif %} {{widget.fields['page_size'].display(page=page, count=count, limit=limit)}} {% if count %} {% for col in columns if col['active'] %} {% endfor %} {% for t in tickets %} {% for col in columns if col['active'] %} {% if col['name'] == 'ticket_num' %} {% elif col['name'] == 'summary' %} {% elif col['name'] == 'status' %} {% elif col['name'] == 'assigned_to' %} {% elif col['name'] == 'reported_by' %} {% elif col['name'] == 'created_date' %} {% elif col['name'] == 'mod_date' %} {% elif col['name'] == 'labels' %} {% elif col['name'] == 'votes' %} {% else %} {% set fld = c.app.globals.get_custom_field(col['name']) %} {% if fld and fld.type == 'user' %} {% set user = t.get_custom_user(col['name']) %} {% else %} {% endif %} {% endif %} {% endfor %} {% endfor %}
{% if col['name'] == 'ticket_num' %} # {% else %} {{col['label']}} {% endif %}
  • Sort A -> Z
  • Sort Z -> A
  • {% if col['name'] in widget.filters.keys() %}
  • Filter by {{col['label']}}
  • {% endif %}
{{ g.icons['admin'].render(id='col_menu', title='Select Columns') }}
{{t[col['name']]}}{{t[col['name']]}}{{t.status}}{% if t.assigned_to %} {{t.assigned_to.display_name}} {% endif %}{% if t.reported_by %}{{t.reported_by.display_name}}{% endif %}{% if t.created_date %}{{abbr_date(t.created_date)}}{% endif %}{% if t.mod_date %}{{abbr_date(t.mod_date)}}{% endif %} {%- for l in t.labels -%} {{l}} {%- if not loop.last -%}, {% endif -%} {%- endfor -%} {{ t.votes }}{% if user %}{{user.get_pref('display_name')}}{% endif %}{{t.custom_fields.get(col['name'])}} 
{% if sort %} {% endif %}
 
(applies to this page only) {% if h.has_access(c.app, 'configure') %} Change field settings permanently. {% endif %}
{{widget.fields['lightbox'].display()}} {% endif %} {{widget.fields['page_list'].display(limit=limit, page=page, count=count)}}
{% block wiki_extra_css %} {% endblock %}