From e721c73119451f4e07bdcdc044a7259662b5ad34 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 12 Jun 2020 09:06:22 +0100 Subject: [PATCH] =?UTF-8?q?Rename=20Jinja=20template=20to=20remove=20term?= =?UTF-8?q?=20=E2=80=98whitelist=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See c31264d4c for rationale. To avoid confusion the codebase should use the same terminology as the UI. --- app/main/views/api_keys.py | 2 +- app/templates/views/api/{whitelist.html => guest-list.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/templates/views/api/{whitelist.html => guest-list.html} (100%) diff --git a/app/main/views/api_keys.py b/app/main/views/api_keys.py index 21117997e..48c6be905 100644 --- a/app/main/views/api_keys.py +++ b/app/main/views/api_keys.py @@ -66,7 +66,7 @@ def guest_list(service_id): if not form.errors: form.populate(**service_api_client.get_guest_list(service_id)) return render_template( - 'views/api/whitelist.html', + 'views/api/guest-list.html', form=form ) diff --git a/app/templates/views/api/whitelist.html b/app/templates/views/api/guest-list.html similarity index 100% rename from app/templates/views/api/whitelist.html rename to app/templates/views/api/guest-list.html