{# /** * Copyright (C) 2024 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 "authed.twig" %} {% import "inline.twig" as inline %} {% block title %}{{ "Notification Centre"|trans }} | {% endblock %} {% block actionMenu %}
{% if currentUser.featureEnabled("notification.add") %} {% endif %}
{% endblock %} {% block pageContent %}
{% trans "Notification Centre" %}
{% set title %}{% trans "Status" %}{% endset %} {% set option1 = "My Read"|trans %} {% set option2 = "My Unread"|trans %} {% set option3 = "All"|trans %} {% set values = [{id: 1, value: option1}, {id: 0, value: option2}] %} {% if currentUser.isSuperAdmin() %} {% set values = values|merge([{id:null, value:option3}]) %} {% endif %} {{ inline.dropdown("read", "single", title, 0, values, "id", "value") }} {% set options = [ { optionid: "", option: "All" }, { optionid: "custom", option: "Custom"|trans }, { optionid: "dataset", option: "DataSet"|trans }, { optionid: "display", option: "Display"|trans }, { optionid: "layout", option: "Layout"|trans }, { optionid: "library", option: "Library"|trans }, { optionid: "report", option: "Report"|trans }, { optionid: "schedule", option: "Schedule"|trans }, ] %} {% set title %}{% trans "Type" %}{% endset %} {{ inline.dropdown("type", "single", title, "", options, "optionid", "option", helpText) }} {% set title %}{% trans "Date" %}{% endset %} {{ inline.dateTime("releaseDt", title, "", helpText, "", "") }}
{% trans "Subject" %} {% trans "Type" %} {% trans "Date" %} {% trans "Interrupt?" %}
{% endblock %} {% block javaScript %} {# CKEDITOR #} {% endblock %}