{# 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 ${_("Components")} # endblock admintitle # block head ${ super() } # endblock head # block adminpanel

${_("Manage Components")} # if view == 'list': (${len(components)}) # endif

# macro owner_field(default_owner='', br_after_label=false)
# endmacro # if view == 'detail':
${jmacros.form_token_input()}
${_("Modify Component:")}
${owner_field(component.owner, True)}
# else:
${jmacros.form_token_input()}
${_("Add Component:")}
${owner_field()}
# if components:
${jmacros.form_token_input()} # for comp in components: # endfor
${_("Name")}${_("Owner")}${_("Default")}
${comp.name} ${comp.owner}

# trans You can remove all items from this list to completely hide this field from the user interface. # endtrans

# else:

# trans As long as you don't add any items to the list, this field will remain completely hidden from the user interface. # endtrans

# endif # endif # call(note, page) jmacros.wikihelp('TracTickets'): # trans note, page ${note} See ${page} for help on using the ticket system. # endtrans # endcall
# endblock adminpanel