芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/views/displaygroup-page.twig
{# /** * Copyright (C) 2020 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * 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 %}{{ "Display Groups"|trans }} | {% endblock %} {% block actionMenu %} {% if currentUser.featureEnabled("displaygroup.add") %}
{% trans "Add Display Group" %}
{% endif %} {% endblock %} {% block pageContent %}
{% trans "Display Groups" %}
{% set title %}{% trans "ID" %}{% endset %} {{ inline.input("displayGroupId", title) }}
{% trans "Name" %}
{% set title %}{% trans "Display" %}{% endset %} {% set attributes = [ { name: "data-width", value: "200px" }, { name: "data-allow-clear", value: "true" }, { name: "data-placeholder--id", value: null }, { name: "data-placeholder--value", value: "" }, { name: "data-search-url", value: url_for("display.search") }, { name: "data-search-term", value: "display" }, { name: "data-search-term-tags", value: "tags" }, { name: "data-id-property", value: "displayId" }, { name: "data-text-property", value: "display" } ] %} {% set helpText %}{% trans "Return Display Groups that directly contain the selected Display." %}{% endset %} {{ inline.dropdown("displayId", "single", title, "", null, "displayId", "display", helpText, "pagedSelect", "", "", "", attributes) }} {% set title %}{% trans "Nested Display" %}{% endset %} {% set helpText %}{% trans "Return Display Groups that contain the selected Display somewhere in the nested Display Group relationship tree." %}{% endset %} {{ inline.dropdown("nestedDisplayId", "single", title, "", null, "displayId", "display", helpText, "pagedSelect", "", "", "", attributes) }} {% set title %}{% trans "Dynamic Criteria" %}{% endset %} {{ inline.input("dynamicCriteria", title) }} {% if currentUser.featureEnabled("tag.tagging") %} {% set title %}{% trans "Tags" %}{% endset %} {% set exactTagTitle %}{% trans "Exact match?" %}{% endset %} {% set helpText %}{% trans "A comma separated list of tags to filter by. Enter a Tag value preceded with | to filter by Tag values. Enter --no-tag to see items without tags." %}{% endset %} {{ inline.inputWithTags("tags", title, null, helpText, null, null, null, "exactTags", exactTagTitle) }} {% endif %} {{ inline.hidden("folderId") }}
{% trans "All Folders" %}
{% trans "ID" %}
{% trans "Name" %}
{% trans "Description" %}
{% trans "Is Dynamic?" %}
{% trans "Criteria" %}
{% if currentUser.featureEnabled("tag.tagging") %}
{% trans "Criteria Tags" %}
{% trans "Tags" %}
{% endif %}
{% trans "Created Date" %}
{% trans "Modified Date" %}
{% endblock %} {% block javaScript %} {% endblock %}