{# /** * OTS Signage Theme - Icon Dashboard Override * * Custom stylized icon dashboard that uses card-based buttons * matching the OTS dashboard design system. * * Based on Xibo CMS dashboard-icon-page.twig */ #} {% extends "authed.twig" %} {% import "inline.twig" as inline %} {% block pageContent %} {% include "theme-dashboard-message.twig" ignore missing %}
{# ── Scheduling ────────────────────────────────────────────── #} {% set scheduleCount = currentUser.featureEnabledCount(["schedule.view", "daypart.view"]) %} {% if scheduleCount > 0 %}

{% trans "Scheduling" %}

{% if currentUser.featureEnabled("schedule.view") %}
{% trans "Schedule" %} {% trans "Manage event schedules" %}
{% endif %} {% if currentUser.featureEnabled("daypart.view") %}
{% trans "Dayparting" %} {% trans "Define time slots" %}
{% endif %}
{% endif %} {# ── Design ────────────────────────────────────────────────── #} {% set countViewable = currentUser.featureEnabledCount(["campaign.view", "layout.view", "template.view", "resolution.view"]) %} {% if countViewable > 0 %}

{% trans "Design" %}

{% if currentUser.featureEnabled("campaign.view") %}
{% trans "Campaigns" %} {% trans "Organise layout playlists" %}
{% endif %} {% if currentUser.featureEnabled("layout.view") %}
{% trans "Layouts" %} {% trans "Design screen layouts" %}
{% endif %} {% if currentUser.featureEnabled("template.view") %}
{% trans "Templates" %} {% trans "Reusable layout templates" %}
{% endif %} {% if currentUser.featureEnabled("resolution.view") %}
{% trans "Resolutions" %} {% trans "Screen resolution presets" %}
{% endif %}
{% endif %} {# ── Library ───────────────────────────────────────────────── #} {% set countViewable = currentUser.featureEnabledCount(["library.view", "playlist.view", "dataset.view", "menuBoard.view"]) %} {% if countViewable > 0 %}

{% trans "Library" %}

{% if currentUser.featureEnabled("library.view") %}
{% trans "Library" %} {% trans "Upload & manage media" %}
{% endif %} {% if currentUser.featureEnabled("playlist.view") %}
{% trans "Playlists" %} {% trans "Content playlists" %}
{% endif %} {% if currentUser.featureEnabled("dataset.view") %}
{% trans "DataSets" %} {% trans "Tabular data sources" %}
{% endif %} {% if currentUser.featureEnabled("menuBoard.view") %}
{% trans "Menu Boards" %} {% trans "Digital menu management" %}
{% endif %}
{% endif %} {# ── Displays ──────────────────────────────────────────────── #} {% set countViewable = currentUser.featureEnabledCount(["displays.view", "displaygroup.view", "displayprofile.view"]) %} {% if countViewable > 0 %}

{% trans "Displays" %}

{% if currentUser.featureEnabled("displays.view") %}
{% trans "Displays" %} {% trans "Manage all screens" %}
{% endif %} {% if currentUser.featureEnabled("displaygroup.view") %}
{% trans "Display Groups" %} {% trans "Organise screen groups" %}
{% endif %} {% if currentUser.featureEnabled("displayprofile.view") %}
{% trans "Display Settings" %} {% trans "Player configuration profiles" %}
{% endif %}
{% endif %} {# ── Administration ────────────────────────────────────────── #} {% set showAdmin = false %} {% if currentUser.featureEnabled("users.view") and (currentUser.isGroupAdmin() or currentUser.isSuperAdmin()) %} {% set showAdmin = true %} {% endif %} {% if currentUser.isSuperUser() %} {% set showAdmin = true %} {% endif %} {% if showAdmin %}

{% trans "Administration" %}

{% if currentUser.featureEnabled("users.view") and (currentUser.isGroupAdmin() or currentUser.isSuperAdmin()) %}
{% trans "Users" %} {% trans "User accounts & permissions" %}
{% endif %} {% if currentUser.isSuperUser() %}
{% trans "Settings" %} {% trans "CMS system configuration" %}
{% endif %}
{% endif %} {% endblock %}