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

83 lines
2.6 KiB
HTML
Raw Normal View History

2018-03-06 17:12:31 +00:00
{% extends "org_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 %}
Settings
2018-03-06 17:12:31 +00:00
{% endblock %}
{% block maincolumn_content %}
<h1 class="font-body-2xl">Settings</h1>
<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() %}
{{ 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 %}
{% call row() %}
{{ text_field('Sector') }}
2023-07-12 12:09:44 -04:00
{{ optional_text_field(current_org.organization_type_label) }}
{{ 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'
)
}}
{% 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'
)
}}
{% endcall %}
{% call row() %}
{{ text_field('Billing details')}}
{{ 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')}}
{{ 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 %}
{% 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'
)
}}
{% endcall %}
{% endcall %}
</div>
2018-03-06 17:12:31 +00:00
{% endblock %}