{# Copyright (C) 2006-2023 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} # extends 'layout.html' # block title ${title} ${ super() } # endblock title # block head ${ super() } # if show_args_form: # endif # endblock head # block content

${title} # if numrows: (${ngettext('%(num)s match', '%(num)s matches', numrows)}) # endif

# if show_args_form:
${_("Arguments")} # if name != 'USER': # for (name, value) in sorted(args.items()): # endfor # endif
# endif
# if asc: # endif
# if description:
${wiki_to_html(context, description)}
# endif
# if 'REPORT_MODIFY' in perm(report.resource):
# endif # if 'REPORT_CREATE' in perm(report.resource):
# endif # if 'REPORT_DELETE' in perm(report.resource):
# endif
# if paginator.has_more_pages:

${_("Results")} (${paginator.displayed_items()})

# include 'page_index.html' # endif # macro group_heading(value_for_group, row_group) # if value_for_group is not none:

# if row_group and '__grouplink__' in row_group[0]: ${value_for_group or _("(empty)")} # else: ${value_for_group or _("(empty)")} # endif # set cnt = row_group|length (${ngettext('%(num)s match', '%(num)s matches', cnt) if cnt else _("No matches found.")})

# endif # endmacro ${group_heading(*row_groups[0]) if row_groups} # if row_groups: # for value_for_group, row_group in row_groups: # if loop.first: # set column_headers # for header_group in header_groups: # for header in header_group if not header.hidden: ${header.title} # endfor # endfor # endset ${column_headers} # else: ${column_headers} # endif # for row in row_group: # for cell_group in row.cell_groups: # set fullrow = len(cell_group) == 1 # for cell in cell_group: # if not cell.header.hidden: # set td_attrs = {'class': []} # if fullrow: # do td_attrs['class'].append('fullrow') # do td_attrs.update({'colspan': 100}) # endif # set col = cell.header.col.strip('_') # if col == 'report': # do td_attrs['class'].append(col) {${cell.value}} {% if fullrow %}
{% endif %} # elif col in ('ticket', 'id'): # do td_attrs['class'].append('ticket') ${ shortname_of(row.resource)} {% if fullrow %}
{% endif %} # elif col == 'summary' and row.id: # do td_attrs['class'].append(col) ${cell.value} {% if fullrow %}
{% endif %} # elif col in ('created', 'modified'): # do td_attrs['class'].append('date') ${ pretty_dateinfo(from_utimestamp(cell.value|int)) if cell.value != '' else '--'} {% if fullrow %}
{% endif %} # elif col == 'time': # do td_attrs['class'].append('date') ${ format_time(from_utimestamp(cell.value|int)) if cell.value != '' else '--'} {% if fullrow %}
{% endif %} # elif col == 'date': # do td_attrs['class'].append('date') ${ format_date(from_utimestamp(cell.value|int)) if cell.value != '' else '--'} {% if fullrow %}
{% endif %} # elif col == 'datetime': # do td_attrs['class'].append('date') ${ format_datetime(from_utimestamp(cell.value|int)) if cell.value != '' else '--'} {% if fullrow %}
{% endif %} # elif col == 'description': # do td_attrs['class'].append(col) ${ wiki_to_html(context.child(row.resource), cell.value)} {% if fullrow %}
{% endif %} # elif col == 'milestone': # do td_attrs['class'].append(col) # if cell.value: ${cell.value} # endif {% if fullrow %}
{% endif %} # else: # do td_attrs['class'].append(col) ${cell.value} {% if fullrow %}
{% endif %} # endif # endif # endfor # endfor # endfor
# endfor
${group_heading(value_for_group, row_group)}
# include 'page_index.html' # endif # if message:
${message}
# endif # if numrows == 0:
${_("No matches found.")}
# endif # call(note, page) jmacros.wikihelp('TracReports'): # trans note, page ${note} See ${page} for help on using and creating reports. # endtrans # endcall
${ super() } # endblock content