{# 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 'admin.html' # block admintitle ${_("Plugins")} # endblock admintitle # block head ${ super() } # endblock head # block adminpanel

# set nb_plugins (${len(plugins)}) # endset # trans nb_plugins Manage Plugins ${nb_plugins} # endtrans

${jmacros.form_token_input()}
${_("Install Plugin:")}

# if readonly: # trans The web server does not have sufficient permissions to store files in the environment plugins directory. # endtrans # else: # trans Upload a plugin packaged as Python egg. # endtrans # endif

# for plugin in plugins:
${jmacros.form_token_input()}

${plugin.name} ${plugin.version}

# if plugin.info:

${plugin.info.get('summary')}

# if 'home_page' in plugin.info or 'author' in plugin.info or 'author_email' in plugin.info:
# if 'author' in plugin.info or 'author_email' in plugin.info:
${_("Author:")}
# if plugin.info.get('author_email'): ${plugin.info.author or plugin.info.author_email} # else: ${plugin.info.author or plugin.info.author_email} # endif
# endif # if 'maintainer' in plugin.info or 'maintainer_email' in plugin.info:
${_("Maintainer:")}
# if plugin.info.get('maintainer_email'): ${plugin.info.maintainer or plugin.info.maintainer_email} # else: ${plugin.info.maintainer or plugin.info.maintainer_email} # endif
# endif # if plugin.info.get('home_page'):
${_("Home page:")}
${plugin.info.home_page}
# endif # if plugin.info.get('license'):
${_("License:")}
${plugin.info.license}
# endif
# endif # endif # for module_name, module in plugin.modules|dictsort: # set show_doc = show == plugin.name or show == module_name # for component_name, component in module.components|dictsort: # set show_doc = show == plugin.name or show == component.full_name # endfor # endfor
${_("Component")} [+] [] ${_("Enabled")}

# if module.description: ${module_name}.* # else: ${module_name}.* # endif # if module.summary: — ${module.summary} # endif

# if module.description:
${safe_wiki_to_html(context, module.description)}
# endif

# if component.description: ${component_name} # else: ${component_name} # endif # if component.summary: — ${component.summary} # endif

# if component.description:
${safe_wiki_to_html(context, component.description)}
# endif
# if not component.required: # endif
# endfor # call(note, page) jmacros.wikihelp('TracPlugins'): # trans note, page ${note} See ${page} for help on using plugins. # endtrans # endcall
# endblock adminpanel