mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 02:18:24 -04:00
Rename some of the settings
This reflects the language we use for these things when talking about them amongst ourselves.
This commit is contained in:
@@ -1,21 +1,18 @@
|
|||||||
{% from "components/radios.html" import radios %}
|
{% from "components/radios.html" import radios %}
|
||||||
{% from "components/page-footer.html" import page_footer %}
|
{% from "components/page-footer.html" import page_footer %}
|
||||||
|
{% from "components/page-header.html" import page_header %}
|
||||||
{% from "components/form.html" import form_wrapper %}
|
{% from "components/form.html" import form_wrapper %}
|
||||||
|
|
||||||
{% extends "org_template.html" %}
|
{% extends "org_template.html" %}
|
||||||
|
|
||||||
{% block org_page_title %}
|
{% block org_page_title %}
|
||||||
Organisation type
|
Organisation sector
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block maincolumn_content %}
|
{% block maincolumn_content %}
|
||||||
<h1 class="heading-large">Organisation type</h1>
|
{{ page_header("Organisation sector") }}
|
||||||
<div class="grid-row">
|
{% call form_wrapper() %}
|
||||||
<div class="column-five-sixths">
|
{{ radios(form.organisation_type) }}
|
||||||
{% call form_wrapper() %}
|
{{ page_footer('Save') }}
|
||||||
{{ radios(form.organisation_type) }}
|
{% endcall %}
|
||||||
{{ page_footer('Save') }}
|
|
||||||
{% endcall %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
caption_visible=False
|
caption_visible=False
|
||||||
) %}
|
) %}
|
||||||
{% call row() %}
|
{% call row() %}
|
||||||
{{ text_field('Organisation name') }}
|
{{ text_field('Name') }}
|
||||||
{{ text_field(current_org.name) }}
|
{{ text_field(current_org.name) }}
|
||||||
{{ edit_field(
|
{{ edit_field(
|
||||||
'Change',
|
'Change',
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
}}
|
}}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% call row() %}
|
{% call row() %}
|
||||||
{{ text_field('Organisation type') }}
|
{{ text_field('Sector') }}
|
||||||
{{ optional_text_field({
|
{{ optional_text_field({
|
||||||
'central': 'Central government',
|
'central': 'Central government',
|
||||||
'local': 'Local government',
|
'local': 'Local government',
|
||||||
|
|||||||
@@ -181,8 +181,8 @@ def test_organisation_settings_for_platform_admin(
|
|||||||
):
|
):
|
||||||
expected_rows = [
|
expected_rows = [
|
||||||
'Label Value Action',
|
'Label Value Action',
|
||||||
'Organisation name Org 1 Change',
|
'Name Org 1 Change',
|
||||||
'Organisation type Not set Change',
|
'Sector Not set Change',
|
||||||
'Crown organisation Yes Change',
|
'Crown organisation Yes Change',
|
||||||
'Data sharing and financial agreement Not signed Change',
|
'Data sharing and financial agreement Not signed Change',
|
||||||
'Request to go live notes None Change',
|
'Request to go live notes None Change',
|
||||||
|
|||||||
Reference in New Issue
Block a user