{# Copyright (C) 2009-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 ${_("Available Reports")} ${ super() } # endblock title # block head ${ super() } # endblock head # block content

${_("Available Reports")}

# if saved_query_href:
${jmacros.form_token_input()}

${_("Return to Last Query")}

# trans Continue browsing through the current list of results, from the last selected report or custom query. # endtrans

# endif # if query_href:

${_("New Custom Query")}

# trans Compose a new ticket query by selecting filters and columns to display. # endtrans

# endif # if reports:

${_("SQL reports and saved custom queries")} # with # set report_asc = asc if sort == 'report' else none # set title_asc = asc if sort == 'title' else none # set a_identifier ${_("Identifier")} # endset # set a_title ${_("Title")} # endset # trans a_identifier, a_title Sort by: ${a_identifier} ${a_title} # endtrans # endwith

# for id, title, description, can_edit, can_delete in reports:
# if can_delete:
# endif # if can_edit:
# endif

# if sort == 'title': ${title} {${id}} # else: {${id}} ${title} # endif

# if description:
${wiki_to_html(context.child('report', id), description)}
# endif
# endfor # else:

${_("No reports available.")}

# endif
# if 'REPORT_CREATE' in perm('report'):
# endif # call(note, page) jmacros.wikihelp('TracReports'): # trans note, page ${note} See ${page} for help on using and creating reports. # endtrans # endcall
${ super() } # endblock