mirror of https://github.com/zulip/zulip.git
urls: Move /team files to the corporate folder.
This commit is contained in:
parent
349bac4751
commit
c9ac233911
|
@ -85,7 +85,7 @@ def team_view(request: HttpRequest) -> HttpResponse:
|
||||||
|
|
||||||
return TemplateResponse(
|
return TemplateResponse(
|
||||||
request,
|
request,
|
||||||
"zerver/team.html",
|
"corporate/team.html",
|
||||||
context={
|
context={
|
||||||
"page_params": {
|
"page_params": {
|
||||||
"contributors": data["contributors"],
|
"contributors": data["contributors"],
|
||||||
|
|
|
@ -52,8 +52,8 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
|
||||||
logging.basicConfig(format="%(levelname)s:%(message)s")
|
logging.basicConfig(format="%(levelname)s:%(message)s")
|
||||||
templates = sorted(fn for fn in templates)
|
templates = sorted(fn for fn in templates)
|
||||||
# Use of lodash templates <%= %>.
|
# Use of lodash templates <%= %>.
|
||||||
if "templates/zerver/team.html" in templates:
|
if "templates/corporate/team.html" in templates:
|
||||||
templates.remove("templates/zerver/team.html")
|
templates.remove("templates/corporate/team.html")
|
||||||
|
|
||||||
def check_for_duplicate_ids(templates: List[str]) -> Dict[str, List[str]]:
|
def check_for_duplicate_ids(templates: List[str]) -> Dict[str, List[str]]:
|
||||||
template_id_dict = build_id_dict(templates)
|
template_id_dict = build_id_dict(templates)
|
||||||
|
|
Loading…
Reference in New Issue