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 /features files to corporate folder.

Aman Agrawal4a9b4fb91b6c
diff --git a/corporate/urls.py b/corporate/urls.py
index df16ad8aecd..7801dc4e722 100644
--- a/corporate/urls.py
+++ b/corporate/urls.py
@@ -52,7 +52,7 @@ landing_page_urls = [
# Landing page, features pages, signup form, etc.
path("hello/", hello_view),
path("new-user/", RedirectView.as_view(url="/hello", permanent=True)),
- path("features/", landing_view, {"template_name": "zerver/features.html"}),
+ path("features/", landing_view, {"template_name": "corporate/features.html"}),
path("plans/", plans_view, name="plans"),
path("apps/", apps_view),
path("apps/download/<platform>", app_download_link_redirect),
diff --git a/templates/zerver/features.html b/templates/corporate/features.html
similarity index 100%
rename from templates/zerver/features.html
rename to templates/corporate/features.html
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 7895d61d03b..2b4445c44b4 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -714,7 +714,7 @@ html_rules: List["Rule"] = [
# Inline styling for an svg; could be moved to CSS files?
"templates/zerver/landing_nav.html",
"templates/zerver/billing_nav.html",
- "templates/zerver/features.html",
+ "templates/corporate/features.html",
"templates/zerver/portico-header.html",
"templates/corporate/billing.html",
"templates/corporate/upgrade.html",