From 78759b6328f80e3d797bb42d2b4bc7b2efe690d0 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 19 Nov 2024 14:30:28 -0500 Subject: [PATCH] RDISCROWD-7660 move authorized services section (#478) --- templates/projects/external_config.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/projects/external_config.html b/templates/projects/external_config.html index 0bebbf47..00cb681b 100644 --- a/templates/projects/external_config.html +++ b/templates/projects/external_config.html @@ -23,14 +23,24 @@

{{_('No external services have been configured')}}

For more information on these settings, please consult the External Configurations documentation.

{% endif %} -

Authorized Services

-{{ authorized_services|join(', ') }} {% for (form_name, display, form) in forms %}

{{display}}

{{render_form(form, form_id=form_name, action_url=url_for('project.ext_config', short_name=project.short_name), action_text='Submit', class_='', btn_name=form_name, btn_class='btn btn-default', btn_value=None)}} {% endfor %} +

Authorized Services

+{% if authorized_services is defined and authorized_services|length > 0 %} + +{% else %} +

No external services.

+{% endif %} + + {% endif %} {% endblock %}