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 %}
|
2023-08-16 12:49:36 -04:00
|
|
|
<h1 class="font-body-2xl">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',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_name', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='organization 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') }}
|
2023-07-12 12:09:44 -04:00
|
|
|
{{ optional_text_field(current_org.organization_type_label) }}
|
2019-06-03 13:31:45 +01:00
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_type', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='sector for the organization'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Request to go live notes') }}
|
|
|
|
|
{{ optional_text_field(current_org.request_to_go_live_notes, default='None') }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_go_live_notes', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='go live notes for the organization'
|
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',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_billing_details', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='billing details for the organization'
|
2021-02-10 15:49:49 +00:00
|
|
|
)
|
|
|
|
|
}}
|
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',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_notes', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='the notes for the organization'
|
2021-02-10 15:49:49 +00:00
|
|
|
)
|
|
|
|
|
}}
|
2021-02-05 10:52:08 +00:00
|
|
|
{% endcall %}
|
|
|
|
|
|
2019-06-03 13:31:45 +01:00
|
|
|
{% call row() %}
|
|
|
|
|
{{ text_field('Known email domains') }}
|
|
|
|
|
{{ optional_text_field(current_org.domains or None, default='None') }}
|
|
|
|
|
{{ edit_field(
|
|
|
|
|
'Change',
|
2023-07-12 12:09:44 -04:00
|
|
|
url_for('.edit_organization_domains', org_id=current_org.id),
|
2023-01-05 21:33:15 -05:00
|
|
|
suffix='known email domains for the organization'
|
2019-06-03 13:31:45 +01:00
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
</div>
|
2018-03-06 17:12:31 +00:00
|
|
|
{% endblock %}
|