{# Copyright (C) 2014 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 http://trac.edgewall.com/license.html. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at http://trac.edgewall.org/. #} ## Display system information. {# Arguments: - system_info: the output of `Environment.system_info`. - plugins: the output of `get_plugin_info`. - config: the output of `get_configinfo`. #} # if system_info or plugins or config:

# if system_info:

${_("System Information")}

# for name, value in system_info: # endfor
${_("Package")}${_("Version")}
${name} ${value}
# endif # if plugins:

${_("Installed Plugins")}

# for plugin in plugins: # set components = plugin.modules|map(attribute='components')|flatten # set url = (plugin.info.home_page or plugin.info.author_email and 'mailto:' + plugin.info.author_email) {# jinjacheck: "CDATA th" OK #} # endfor
${_("Name")} ${_("Version")} ${_("Location")}
# if url: ${plugin.name} # else: ${plugin.name} # endif ${plugin.version or _('N/A')} # if 'frame_idx' in plugin: ${plugin.path} # else: ${plugin.path} # endif
# endif # if interface:

${_("Interface Customization")}

${_("Site templates")} ${' '.join(interface['site-templates'])}
${_("Shared templates")} ${' '.join(interface['shared-templates'])}
${_("Site static resources")} ${' '.join(interface['site-htdocs'])}
${_("Shared static resources")} ${' '.join(interface['shared-htdocs'])}
# endif # if config:

${_("Configuration")}

# for section in config: # for option in section.options: # if loop.first: # endif # endfor # endfor
${_("Section")} ${_("Name")} ${_("Value")}
${section.name}${option.name} ${option.value}
# endif
# endif