Files
notifications-admin/app/templates/views/organizations/organization/settings/index.html
T

73 lines
2.3 KiB
HTML
Raw Normal View History

{% extends "withnav_template.html" %}
{% 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>
2025-10-06 09:38:54 -04:00
<div class="margin-bottom-3 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('Billing details')}}
2021-02-16 15:20:15 +00:00
{{ optional_text_field(current_org.billing_details, default="None", wrap=True) }}
{{ 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'
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Notes')}}
2021-02-16 15:20:15 +00:00
{{ optional_text_field(current_org.notes, default="None", wrap=True) }}
{{ 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'
)
}}
{% 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 %}
2018-03-06 17:12:31 +00:00
{% endcall %}
</div>
2018-03-06 17:12:31 +00:00
{% endblock %}