Skip to content

Commit

Permalink
RDISCROWD-7660 move authorized services section (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkle authored Nov 19, 2024
1 parent 7b8c605 commit 78759b6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions templates/projects/external_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,24 @@ <h3>{{_('No external services have been configured')}}</h3>
<p>For more information on these settings, please consult the <a href={{config.EXT_CONFIG_DOCS}}>External Configurations documentation</a>.</p>
{% endif %}

<h3>Authorized Services</h3>
<span>{{ authorized_services|join(', ') }}</span>

{% for (form_name, display, form) in forms %}
<h3>{{display}}</h3>
{{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 %}

<h3>Authorized Services</h3>
{% if authorized_services is defined and authorized_services|length > 0 %}
<ul>
{% for service in authorized_services %}
<li>{{ service }}</li>
{% endfor %}
</ul>
{% else %}
<p>No external services.</p>
{% endif %}


{% endif %}

{% endblock %}

0 comments on commit 78759b6

Please sign in to comment.