Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

urls: Move /plans files to corporate folder.

Aman Agrawala5d7a334c4c3
diff --git a/corporate/views/portico.py b/corporate/views/portico.py
index 757f5392284..17c83f60d4e 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 6aae8e43666..57e137f7df8 100644
--- a/templates/corporate/for/business.html
+++ b/templates/corporate/for/business.html
@@ -533,7 +533,7 @@
</div>
<div class="feature-pricing">
- {% include "zerver/pricing_model.html" %}
+ {% include "corporate/pricing_model.html" %}
</div>
</div>
</div>
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 df45f095443..68e9d669af3 100644
--- a/templates/zerver/plans.html
+++ b/templates/corporate/plans.html
@@ -19,7 +19,7 @@
<div class="portico-landing plans">
<div class="main">
- {% include "zerver/pricing_model.html" %}
+ {% include "corporate/pricing_model.html" %}
<div class="plans_top_faq plans_faq_questions">
<p>
You can <a href="https://zulip.com/help/zulip-cloud-or-self-hosting">move
@@ -56,6 +56,6 @@
</p>
</div>
<br />
- {% include "zerver/compare.html" %}
+ {% include "corporate/compare.html" %}
</div>
{% 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