From a5d7a334c4c359edcd29654c236b5ce6c1624ab1 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Wed, 3 Aug 2022 08:45:56 +0000 Subject: [PATCH] urls: Move /plans files to corporate folder. --- corporate/views/portico.py | 2 +- templates/{zerver => corporate}/compare.html | 0 templates/corporate/for/business.html | 2 +- templates/{zerver => corporate}/plans.html | 4 ++-- templates/{zerver => corporate}/pricing_model.html | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename templates/{zerver => corporate}/compare.html (100%) rename templates/{zerver => corporate}/plans.html (96%) rename templates/{zerver => corporate}/pricing_model.html (100%) diff --git a/corporate/views/portico.py b/corporate/views/portico.py index 757f539228..17c83f60d4 100644 --- a/corporate/views/portico.py +++ b/corporate/views/portico.py @@ -61,7 +61,7 @@ def plans_view(request: HttpRequest) -> HttpResponse: return TemplateResponse( request, - "zerver/plans.html", + "corporate/plans.html", context={ "realm": realm, "free_trial_days": free_trial_days, diff --git a/templates/zerver/compare.html b/templates/corporate/compare.html similarity index 100% rename from templates/zerver/compare.html rename to templates/corporate/compare.html diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.html index 6aae8e4366..57e137f7df 100644 --- a/templates/corporate/for/business.html +++ b/templates/corporate/for/business.html @@ -533,7 +533,7 @@
- {% include "zerver/pricing_model.html" %} + {% include "corporate/pricing_model.html" %}
diff --git a/templates/zerver/plans.html b/templates/corporate/plans.html similarity index 96% rename from templates/zerver/plans.html rename to templates/corporate/plans.html index df45f09544..68e9d669af 100644 --- a/templates/zerver/plans.html +++ b/templates/corporate/plans.html @@ -19,7 +19,7 @@
- {% include "zerver/pricing_model.html" %} + {% include "corporate/pricing_model.html" %}
- {% include "zerver/compare.html" %} + {% include "corporate/compare.html" %}
{% endblock %} diff --git a/templates/zerver/pricing_model.html b/templates/corporate/pricing_model.html similarity index 100% rename from templates/zerver/pricing_model.html rename to templates/corporate/pricing_model.html