2018-03-06 17:12:31 +00:00
|
|
|
{% extends "org_template.html" %}
|
2019-02-19 17:26:16 +00:00
|
|
|
{% from "components/table.html" import mapping_table, optional_text_field, row, text_field, edit_field with context %}
|
2018-03-06 17:12:31 +00:00
|
|
|
|
|
|
|
|
{% block org_page_title %}
|
2019-03-21 11:22:53 +00:00
|
|
|
Settings
|
2018-03-06 17:12:31 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
2019-04-23 10:03:28 +01:00
|
|
|
<h1 class="heading-medium">Settings</h1>
|
2019-04-30 13:46:04 +01:00
|
|
|
<div class="bottom-gutter-3-2 settings-table body-copy-table">
|
2018-03-06 17:12:31 +00:00
|
|
|
{% call mapping_table(
|
|
|
|
|
caption='General',
|
|
|
|
|
field_headings=['Label', 'Value', 'Action'],
|
|
|
|
|
field_headings_visible=False,
|
|
|
|
|
caption_visible=False
|
|
|
|
|
) %}
|
|
|
|
|
{% call row() %}
|
2019-06-03 13:34:50 +01:00
|
|
|
{{ text_field('Name') }}
|
2018-03-06 17:12:31 +00:00
|
|
|
{{ text_field(current_org.name) }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_name', org_id=current_org.id),
|
|
|
|
|
suffix='organisation name'
|
2018-03-06 17:12:31 +00:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
2019-06-03 13:31:45 +01:00
|
|
|
{% call row() %}
|
2019-06-03 13:34:50 +01:00
|
|
|
{{ text_field('Sector') }}
|
2019-08-27 16:32:30 +01:00
|
|
|
{{ optional_text_field(current_org.organisation_type_label) }}
|
2019-06-03 13:31:45 +01:00
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_type', org_id=current_org.id),
|
|
|
|
|
suffix='sector for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Crown organisation') }}
|
|
|
|
|
{{ optional_text_field(
|
2019-02-19 17:26:16 +00:00
|
|
|
{
|
2019-06-03 13:31:45 +01:00
|
|
|
True: 'Yes',
|
|
|
|
|
False: 'No',
|
|
|
|
|
}.get(current_org.crown),
|
|
|
|
|
default='Not sure'
|
|
|
|
|
) }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_crown_status', org_id=current_org.id),
|
|
|
|
|
suffix='organisation crown status'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Data sharing and financial agreement') }}
|
|
|
|
|
{{ text_field(
|
|
|
|
|
{
|
|
|
|
|
True: 'Signed',
|
|
|
|
|
False: 'Not signed',
|
|
|
|
|
None: 'Not signed (but we have some service-specific agreements in place)'
|
|
|
|
|
}.get(current_org.agreement_signed)
|
|
|
|
|
) }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_agreement', org_id=current_org.id),
|
|
|
|
|
suffix='data sharing and financial agreement for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
2019-02-19 17:26:16 +00:00
|
|
|
{% endcall %}
|
2019-06-03 13:31:45 +01:00
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Request to go live notes') }}
|
|
|
|
|
{{ optional_text_field(current_org.request_to_go_live_notes, default='None') }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_go_live_notes', org_id=current_org.id),
|
|
|
|
|
suffix='go live notes for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
2021-02-05 10:52:08 +00:00
|
|
|
|
2021-02-05 10:57:46 +00:00
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Billing details')}}
|
2021-02-16 15:20:15 +00:00
|
|
|
{{ optional_text_field(current_org.billing_details, default="None", wrap=True) }}
|
2021-02-10 15:49:49 +00:00
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
|
|
|
|
url_for('.edit_organisation_billing_details', org_id=current_org.id),
|
|
|
|
|
suffix='billing details for the organisation'
|
|
|
|
|
)
|
|
|
|
|
}}
|
2021-02-05 10:57:46 +00:00
|
|
|
{% endcall %}
|
|
|
|
|
|
2021-02-05 10:52:08 +00:00
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Notes')}}
|
2021-02-16 15:20:15 +00:00
|
|
|
{{ optional_text_field(current_org.notes, default="None", wrap=True) }}
|
2021-02-10 15:49:49 +00:00
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
|
|
|
|
url_for('.edit_organisation_notes', org_id=current_org.id),
|
|
|
|
|
suffix='the notes for the organisation'
|
|
|
|
|
)
|
|
|
|
|
}}
|
2021-02-05 10:52:08 +00:00
|
|
|
{% endcall %}
|
|
|
|
|
|
2019-06-03 13:31:45 +01:00
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Default email branding') }}
|
2019-09-12 11:49:31 +01:00
|
|
|
{{ text_field(current_org.email_branding_name) }}
|
2019-06-03 13:31:45 +01:00
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_email_branding', org_id=current_org.id),
|
|
|
|
|
suffix='default email branding for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Default letter branding') }}
|
|
|
|
|
{{ optional_text_field(
|
2019-09-12 11:49:31 +01:00
|
|
|
current_org.letter_branding.name,
|
2019-06-03 13:31:45 +01:00
|
|
|
default='No branding'
|
|
|
|
|
) }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_letter_branding', org_id=current_org.id),
|
|
|
|
|
suffix='default letter branding for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Known email domains') }}
|
|
|
|
|
{{ optional_text_field(current_org.domains or None, default='None') }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2021-02-10 15:49:49 +00:00
|
|
|
url_for('.edit_organisation_domains', org_id=current_org.id),
|
|
|
|
|
suffix='known email domains for the organisation'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
</div>
|
2018-03-06 17:12:31 +00:00
|
|
|
{% endblock %}
|