{# # Copyright (C) 2020 Cinc # # All rights reserved. # # License: 3-clause BSD #} # extends 'admin.html' # block admintitle ${_("Manage Projects")} # endblock admintitle # block head ${ super() } # endblock head # block adminpanel

${_("Manage Projects")} # if view == 'init': (${len(projects)}) # endif

# if view == 'detail':
${jmacros.form_token_input()}
${_("Modify Project")}
# else: # if not custom_field:
${_("Ticket custom field not set. See installation instructions.")}
# endif # if 'PROJECT_ADMIN' in perm:
${jmacros.form_token_input()}
${_("Add Project")}
# endif
${jmacros.form_token_input()} # for project in projects: # if 'PROJECT_ADMIN' in perm: # else: # endif # endfor
  ${_("Name")} ${_("Summary")} ${_("Restricted To Users")} ${_("Closed")}
# if 'PROJECT_ADMIN' in perm: # endif ${project.name} ${project.name} ${project.summary} ${project.restrict} ${project.closed or None}
# if 'PROJECT_ADMIN' in perm:
# endif
# endif
# endblock adminpanel