feat: read only mode

This commit is contained in:
Jannat Patel
2025-04-29 18:39:22 +05:30
parent b1a9af5de8
commit 6d5a02e2a8
7 changed files with 30 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ def get_context():
context = frappe._dict()
context.csrf_token = csrf_token
context.read_only = frappe.flags.read_only
context.meta = get_meta(app_path, title, favicon)
capture("active_site", "lms")
context.title = title