{# SPDX-License-Identifier: LicenseRef-Trac SPDX-FileCopyrightText: 2022 The TracTicketMSTeamsDispatcherPlugin Authors #} # extends 'admin.html' # block admintitle ${_("MS Teams Dispatcher Settings")} # endblock admintitle # block adminpanel

${_("Webhook Dispatcher Payload Settings")}

${jmacros.form_token_input()} # for payload in payloads # set payload_id = payload.id # set payload_type = payload.type # set payload_webhook_type = payload.webhook_type # set teams_themecolor_id = 'teams_%s_themeColor' % (payload_id) # set teams_summary_id = 'teams_%s_summary' % (payload_id) # set teams_type_id = 'teams_%s_payloadtype' % (payload_id) # set teams_whtype_id = 'teams_%s_webhooktype' % (payload_id) # if payload.webhook_type == 1 # include 'teams_payload.html' # endif # if payload.webhook_type == 2 # include 'discord_payload.html' # endif
# endfor
# endblock adminpanel