mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	urls: Move /team files to the corporate folder.
This commit is contained in:
		@@ -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"],
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user