refactor: added logged in status in body tag
This commit is contained in:
parent
421f070e78
commit
e4c009c514
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
window.socketio_port = {{ frappe.socketio_port }};
|
||||
</script>
|
||||
</head>
|
||||
<body data-path="{{ path | e }}" {%- if template and template.endswith('.md') %} frappe-content-type="markdown" {% endif -%}>
|
||||
<body frappe-session-status="{{ 'logged-in' if frappe.session.user != 'Guest' else 'logged-out'}}" data-path="{{ path | e }}" {%- if template and template.endswith('.md') %} frappe-content-type="markdown" {% endif -%}>
|
||||
{%- block banner -%}
|
||||
{% include "templates/includes/banner_extension.html" ignore missing %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue