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

Aman Agrawalc9ac23391188
diff --git a/corporate/views/portico.py b/corporate/views/portico.py
index 2b0271a6c8e..f3e5b729d8f 100644
--- a/corporate/views/portico.py
+++ b/corporate/views/portico.py
@@ -85,7 +85,7 @@ def team_view(request: HttpRequest) -> HttpResponse:
return TemplateResponse(
request,
- "zerver/team.html",
+ "corporate/team.html",
context={
"page_params": {
"contributors": data["contributors"],
diff --git a/templates/zerver/team.html b/templates/corporate/team.html
similarity index 100%
rename from templates/zerver/team.html
rename to templates/corporate/team.html
diff --git a/tools/check-templates b/tools/check-templates
index 66a532345b4..68a0ec7e67c 100755
--- a/tools/check-templates
+++ b/tools/check-templates
@@ -52,8 +52,8 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
logging.basicConfig(format="%(levelname)s:%(message)s")
templates = sorted(fn for fn in templates)
# Use of lodash templates <%= %>.
- if "templates/zerver/team.html" in templates:
- templates.remove("templates/zerver/team.html")
+ if "templates/corporate/team.html" in templates:
+ templates.remove("templates/corporate/team.html")
def check_for_duplicate_ids(templates: List[str]) -> Dict[str, List[str]]:
template_id_dict = build_id_dict(templates)