Skip to content

Commit

Permalink
TP2000-1570 content changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjamc committed Nov 13, 2024
1 parent 86e68ac commit 8b41113
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion quotas/forms/wizards.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def init_layout(self, request):
self.helper.layout = Layout(
Div(
HTML(
'<h2 class="govuk-heading">Enter main and sub-quota order numbers</h2>',
'<h2 class="govuk-heading">Enter main and sub-quota order numbers to link together</h2>',
),
),
Div(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<p>You must enter a co-efficient value and specify the relationship type for each definition period.</p>
{{ govukTable({
"head": [
{"text": "Sid"},
{"text": "SID"},
{"text": "Start date"},
{"text": "End date"},
{"text": "Volume"},
Expand All @@ -57,7 +57,11 @@
],
"rows": table_rows,
}) }}
<p>Selecting 'Submit' will create the new definitions and create a quota association. Further edits to the definitions can be made via the Quota view</p>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<p>Selecting 'Submit' will create the new definitions and create a quota association. Further edits to the definition periods can be made on the quota order number page.</p>
</div>
</div>
<div class="govuk-button-group">
{{ govukButton({
"text": "Submit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
<li>the sub-quota order number</li>
<li>which definitions should be duplicated from main to sub-quota</li>
<li>any updates to be made to the duplicated definitions</li>
<li>(additional updates can be made after duplication, via the edit definition page)</li>
</ul>
Additional updates can be made after duplication, via the edit definition page.

</p>
<div class="govuk-button-group">
{{ govukButton({"text": "Start now", "isStartButton": True}) }}
Expand Down
8 changes: 4 additions & 4 deletions quotas/views/wizards.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ class DuplicateDefinitionsWizard(

step_metadata = {
START: {
"title": "Duplicate quota definitions",
"title": "Create quota associations",
"link_text": "Start",
},
QUOTA_ORDER_NUMBERS: {
"title": "Create associations",
"title": "Choose quotas to be linked",
"link_text": "Order numbers",
},
SELECT_DEFINITION_PERIODS: {
"title": "Select definition periods",
"title": "Select definition periods to duplicate",
"link_text": "Definition periods",
},
SELECTED_DEFINITIONS: {
"title": "Provide updates and details for duplicated definitions",
"title": "Edit duplicated definition periods",
"link_text": "Selected definitions",
},
COMPLETE: {"title": "Finished", "link_text": "Success"},
Expand Down
2 changes: 1 addition & 1 deletion workbaskets/jinja2/workbaskets/edit-workbasket.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{{ workbasket_column("Quotas", [
{"text": "Create a new quota", "url": url('quota-ui-create')},
{"text": "Find and edit quotas", "url": url('quota-ui-list')},
{"text": "Create quota association", "url": url('sub_quota_definitions-ui-create')},
{"text": "Create quota associations", "url": url('sub_quota_definitions-ui-create')},
])
}}
{{ workbasket_column("Regulations", [
Expand Down

0 comments on commit 8b41113

Please sign in to comment.