diff --git a/swh/web/add_forge_now/views.py b/swh/web/add_forge_now/views.py --- a/swh/web/add_forge_now/views.py +++ b/swh/web/add_forge_now/views.py @@ -92,11 +92,7 @@ """ - return render( - request, - "add_forge_now/create-request-create.html", - {"forge_types": FORGE_TYPES}, - ) + return render(request, "add_forge_now/form.html", {"forge_types": FORGE_TYPES},) def create_request_list(request): @@ -104,7 +100,7 @@ """ - return render(request, "add_forge_now/create-request-list.html",) + return render(request, "add_forge_now/list.html",) def create_request_help(request): @@ -112,7 +108,7 @@ """ - return render(request, "add_forge_now/create-request-help.html",) + return render(request, "add_forge_now/help.html",) urlpatterns = [ diff --git a/swh/web/templates/add_forge_now/create-request.html b/swh/web/templates/add_forge_now/common.html rename from swh/web/templates/add_forge_now/create-request.html rename to swh/web/templates/add_forge_now/common.html diff --git a/swh/web/templates/add_forge_now/create-request-create.html b/swh/web/templates/add_forge_now/form.html rename from swh/web/templates/add_forge_now/create-request-create.html rename to swh/web/templates/add_forge_now/form.html --- a/swh/web/templates/add_forge_now/create-request-create.html +++ b/swh/web/templates/add_forge_now/form.html @@ -1,4 +1,4 @@ -{% extends "./create-request.html" %} +{% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers diff --git a/swh/web/templates/add_forge_now/create-request-help.html b/swh/web/templates/add_forge_now/help.html rename from swh/web/templates/add_forge_now/create-request-help.html rename to swh/web/templates/add_forge_now/help.html --- a/swh/web/templates/add_forge_now/create-request-help.html +++ b/swh/web/templates/add_forge_now/help.html @@ -1,4 +1,4 @@ -{% extends "./create-request.html" %} +{% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers diff --git a/swh/web/templates/add_forge_now/create-request-list.html b/swh/web/templates/add_forge_now/list.html rename from swh/web/templates/add_forge_now/create-request-list.html rename to swh/web/templates/add_forge_now/list.html --- a/swh/web/templates/add_forge_now/create-request-list.html +++ b/swh/web/templates/add_forge_now/list.html @@ -1,4 +1,4 @@ -{% extends "./create-request.html" %} +{% extends "./common.html" %} {% comment %} Copyright (C) 2022 The Software Heritage developers