{# /** * Copyright (C) 2020-2025 Xibo Signage Ltd * * Xibo - Digital Signage - https://xibosignage.com * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Xibo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Xibo. If not, see . */ #} {% extends "base.twig" %} {% block content %} {% set horizontalNav = currentUser.getOptionValue("navigationMenuPosition", theme.getSetting("NAVIGATION_MENU_POSITION", "vertical")) == "horizontal" %} {% if not hideNavigation %} {% set hideNavigation = currentUser.getOptionValue("hideNavigation", "0") %} {% endif %}
{% if hideNavigation == "0" and not forceHide %} {% if horizontalNav %} {% else %} {% endif %} {% endif %}
{% if not horizontalNav or hideNavigation == "1" or forceHide %}
{% if not forceHide %} {% if not hideNavigation == "1" %} {% endif %}
{% include "authed-user-menu.twig" %}
{% if currentUser.featureEnabled("drawer") %}
{% include "authed-notification-drawer.twig" %}
{% endif %} {% include "authed-theme-topbar.twig" ignore missing %} {% endif %}
{% endif %}
{% block actionMenu %}{% endblock %} {% if settings.INSTANCE_SUSPENDED == "partial" %}
{{ "CMS suspended. Displays will show cached content. Please contact your administrator."|trans }}
{% endif %} {% block pageContent %}{% endblock %}
{% block pageFooter %}{% endblock %}
{% set helpLinks = helpService.getLinksForPage(route) %} {% set faultViewEnabled = currentUser.featureEnabled("fault.view") %} {# Hide in mobile view (sm/<768px) #}
{% endblock %} {% block javaScriptTemplates %} {# File upload templates and scripts #} {% include "include-file-upload.twig" %} {% endblock %}