mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 08:29:49 -04:00
link-service-to-organisations-tweaks
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
Create an organisation
|
||||
{% endblock %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{% block org_page_title %}
|
||||
Create an organisation
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Organisations
|
||||
{% endblock %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{% block org_page_title %}
|
||||
Organisations
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{ current_org.name }}
|
||||
{% endblock %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{% block org_page_title %}
|
||||
{{ current_org.name }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
Update an organisation
|
||||
{% endblock %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{% block org_page_title %}
|
||||
Update an organisation
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "org_template.html" %}
|
||||
|
||||
{% block service_page_title %}
|
||||
{% block org_page_title %}
|
||||
Team members
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -248,7 +248,6 @@
|
||||
{% if current_user.has_permissions(admin_override=True) %}
|
||||
|
||||
<h2 class="heading-medium">Platform admin settings</h2>
|
||||
|
||||
{% call mapping_table(
|
||||
caption='Settings',
|
||||
field_headings=['Label', 'Value', 'Action'],
|
||||
@@ -257,7 +256,7 @@
|
||||
) %}
|
||||
{% call row() %}
|
||||
{{ text_field('Organisation')}}
|
||||
{{ optional_text_field(organisation or 'Not Set') }}
|
||||
{{ optional_text_field(organisation or None) }}
|
||||
{{ edit_field('Change', url_for('.link_service_to_organisation', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
|
||||
@@ -14,9 +14,13 @@
|
||||
Link service to organisation
|
||||
</h1>
|
||||
<form method="post">
|
||||
{{ radios(form.organisations) }}
|
||||
{% if has_organisations %}
|
||||
{{ radios(form.organisations) }}
|
||||
{% else %}
|
||||
<p> No organisations </p>
|
||||
{% endif %}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
'Save' if has_organisations,
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
|
||||
Reference in New Issue
Block a user