fix: Webpages not working without login

This commit is contained in:
Rohit Waghchaure
2024-02-22 16:24:30 +05:30
parent 865cba406f
commit d6fad08d20
3 changed files with 14 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
{
"actions": [],
"allow_guest_to_view": 1,
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:item_group_name",
@@ -227,13 +228,14 @@
"label": "Include Descendants"
}
],
"has_web_view": 1,
"icon": "fa fa-sitemap",
"idx": 1,
"image_field": "image",
"is_tree": 1,
"links": [],
"max_attachments": 3,
"modified": "2023-01-05 12:21:30.458628",
"modified": "2024-02-22 16:23:46.936496",
"modified_by": "Administrator",
"module": "Setup",
"name": "Item Group",

View File

@@ -0,0 +1,7 @@
{% extends "templates/web.html" %}
{% block page_content %}
<h1>{{ title }}</h1>
{% endblock %}
<!-- this is a sample default web page template -->

View File

@@ -0,0 +1,4 @@
<div>
<a href="{{ doc.route }}">{{ doc.title or doc.name }}</a>
</div>
<!-- this is a sample default list template -->