-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'TP2000-1129-reference-documents-megabranch' of github.c…
…om:uktrade/tamato into TP2000-1232-reference-doc-ui-management # Conflicts: # reference_documents/forms/preferential_quota_forms.py
- Loading branch information
Showing
20 changed files
with
472 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...ocuments/jinja2/reference_documents/preferential_quota_order_numbers/confirm_delete.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% extends "layouts/layout.jinja" %} | ||
|
||
{% from "components/panel/macro.njk" import govukPanel %} | ||
{% from "components/button/macro.njk" import govukButton %} | ||
{% from "components/breadcrumbs/macro.njk" import govukBreadcrumbs %} | ||
|
||
{% set area_id = request.session['deleted_version']['area_id'] %} | ||
{% set version = request.session['deleted_version']['version'] %} | ||
{% set ref_doc_pk = request.session['deleted_version']['ref_doc_pk'] %} | ||
|
||
{% set page_title = "Reference Document " ~ area_id ~ " version " ~ version ~ " successfully deleted" %} | ||
|
||
|
||
{% block breadcrumb %} | ||
{{ govukBreadcrumbs({ | ||
"items": [{"text": "Home", "href": url("home")}, | ||
{"text": "View reference documents", "href": url("reference_documents:index")}, | ||
{"text": "Reference Document " ~ area_id, "href": url("reference_documents:details", kwargs={"pk":ref_doc_pk})}, | ||
{"text": "Delete Reference Document " ~ area_id ~ " version " ~ version}, | ||
{"text": page_title}] | ||
}) }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
{{ govukPanel({ | ||
"titleText": "Reference Document " ~ request.session['deleted_version']['area_id'] ~ " version " ~ request.session['deleted_version']['version'] ~ " has been deleted", | ||
"text": "This change has taken immediate effect", | ||
"classes": "govuk-!-margin-bottom-7" | ||
}) }} | ||
</div> | ||
</div> | ||
{{ govukButton({ | ||
"text": "Back to View reference documents", | ||
"href": url("reference_documents:index"), | ||
"classes": "govuk-button--secondary" | ||
}) }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.