fix: add default list.html for web view (#35300)

This commit is contained in:
Soham Kulkarni 2025-12-18 12:16:05 +05:30 committed by GitHub
parent 2505fa9c8c
commit b559fee24e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{{% extends "templates/web.html" %}}
{{% block page_content %}}
{{% include "templates/includes/list/list.html" %}}
{{% endblock %}}

View file

@ -884,6 +884,7 @@ class DocType(Document):
if not os.path.exists(templates_path):
os.makedirs(templates_path)
make_boilerplate("templates/controller.html", self.as_dict())
make_boilerplate("templates/controller_list.html", self.as_dict())
make_boilerplate("templates/controller_row.html", self.as_dict())
def export_types_to_controller(self):