From 3e39e6f019149b50c609bbf9341103a5a486a954 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Wed, 13 Jan 2021 16:17:30 +0000 Subject: [PATCH] Remove unused radio imports The following were added without the macro ever being called: - app/templates/views/add-service-local.html (added in https://github.com/alphagov/notifications-admin/commit/e6f49825e5fdfd798ca2f2622f12342dfd15dbf8) - app/templates/views/service-settings/data-retention/edit.html (added in https://github.com/alphagov/notifications-admin/commit/4b8b571a8768ab71cebb95b0338bec957b016fa2) - app/templates/views/organisations/organisation/settings/edit-domains.html (added in https://github.com/alphagov/notifications-admin/commit/936883bf7bd74a1c3f0892344973de18c14a747c) The following were used when they were first added but not removed when the macro stopped being used: - app/templates/views/edit-letter-template.html (macro removed in https://github.com/alphagov/notifications-admin/commit/20ae200de9e5a36567533f121906d531a1d5a19d) - app/templates/views/organisations/organisation/settings/edit-agreement.html (macro removed in https://github.com/alphagov/notifications-admin/commit/45526598c6b1cda2e54a25dd64f1888da55d5927) --- app/templates/views/add-service-local.html | 1 - app/templates/views/edit-letter-template.html | 1 - .../organisations/organisation/settings/edit-agreement.html | 1 - .../views/organisations/organisation/settings/edit-domains.html | 1 - app/templates/views/service-settings/data-retention/edit.html | 1 - 5 files changed, 5 deletions(-) diff --git a/app/templates/views/add-service-local.html b/app/templates/views/add-service-local.html index 2ba165481..a1e886c0d 100644 --- a/app/templates/views/add-service-local.html +++ b/app/templates/views/add-service-local.html @@ -1,5 +1,4 @@ {% extends "withoutnav_template.html" %} -{% from "components/radios.html" import radios %} {% from "components/page-header.html" import page_header %} {% from "components/page-footer.html" import page_footer %} {% from "components/form.html" import form_wrapper %} diff --git a/app/templates/views/edit-letter-template.html b/app/templates/views/edit-letter-template.html index 04cf29829..89369d39b 100644 --- a/app/templates/views/edit-letter-template.html +++ b/app/templates/views/edit-letter-template.html @@ -2,7 +2,6 @@ {% from "components/textbox.html" import textbox %} {% from "components/page-header.html" import page_header %} {% from "components/page-footer.html" import sticky_page_footer %} -{% from "components/radios.html" import radios %} {% from "components/form.html" import form_wrapper %} {% block service_page_title %} diff --git a/app/templates/views/organisations/organisation/settings/edit-agreement.html b/app/templates/views/organisations/organisation/settings/edit-agreement.html index f4c44d99c..98a169d1a 100644 --- a/app/templates/views/organisations/organisation/settings/edit-agreement.html +++ b/app/templates/views/organisations/organisation/settings/edit-agreement.html @@ -1,4 +1,3 @@ -{% from "components/radios.html" import radios %} {% from "components/page-footer.html" import page_footer %} {% from "components/page-header.html" import page_header %} {% from "components/form.html" import form_wrapper %} diff --git a/app/templates/views/organisations/organisation/settings/edit-domains.html b/app/templates/views/organisations/organisation/settings/edit-domains.html index dc2633258..8c014840f 100644 --- a/app/templates/views/organisations/organisation/settings/edit-domains.html +++ b/app/templates/views/organisations/organisation/settings/edit-domains.html @@ -1,4 +1,3 @@ -{% from "components/radios.html" import radios %} {% from "components/page-footer.html" import page_footer %} {% from "components/page-header.html" import page_header %} {% from "components/list-entry.html" import list_entry %} diff --git a/app/templates/views/service-settings/data-retention/edit.html b/app/templates/views/service-settings/data-retention/edit.html index 5de7cf781..3343a6ed6 100644 --- a/app/templates/views/service-settings/data-retention/edit.html +++ b/app/templates/views/service-settings/data-retention/edit.html @@ -2,7 +2,6 @@ {% from "components/page-header.html" import page_header %} {% from "components/page-footer.html" import page_footer %} {% from "components/form.html" import form_wrapper %} -{% from "components/radios.html" import radios %} {% block service_page_title %} Data retention