{# 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 # set is_query = report.sql.startswith('query:') # set new_report = action == 'new' and not is_query # if new_report: ${_("Create New Report")} # else: ${_("Edit Report {%(id)s} %(title)s", id=report.id, title=report.title)} # endif ${ super() } # endblock title # block head ${ super() } # endblock head # block content # set is_query = report.sql.startswith('query:') # set new_report = action == 'new' and not is_query # set new_query = action == 'new' and is_query

# if new_report: ${_("New Report")} # elif new_query: ${_("New Query")} # else: ${report.title} # endif

# if new_report: ${_("Create Report:")} # elif new_query: ${_("Create Query:")} # elif is_query: ${_("Modify Query:")} # else: ${_("Modify Report:")} # endif ${jmacros.form_token_input()}
# if error:
${_("Error:")} ${error}
# 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