{# /** * Copyright (C) 2022 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 %} {% set displayName = display.display %} {% block title %}{% trans %}Manage {{ displayName }}{% endtrans %} | {% endblock %} {% block pageContent %} {% set displayLastAccessed = display.lastAccessed %} {% if display.loggedIn == 1 %} {% set title %}{% trans %}Display {{ displayName }} is currently logged-in, seen {{ timeAgo }}.{% endtrans %}{% endset %} {% else %} {% set title %}{% trans %}Display {{ displayName }} is not logged in at the moment and last accessed at {{ displayLastAccessed }}{% endtrans %}{% endset %} {% endif %}

{{ title }}

{% if display.mediaInventoryStatus == 3 %}

{% trans "This Display hasn't connected since updates have been made in the CMS. The below information will be updated when it has." %}

{% endif %}
{% trans "File Status - Count of Files" %}
{% trans "File Status - Size of Files" %}
{% if display.clientCode < 300 %}

{{ "This player is too old to show faults. Please upgrade it to v3 or later."|trans }}

{% else %}
{% trans "Reported Player Faults" %}
{% trans "Code" %} {% trans "Reason" %} {% trans "Date" %} {% trans "Expires" %} {% trans "Schedule ID" %} {% trans "Layout ID" %} {% trans "Region ID" %} {% trans "Widget ID" %} {% trans "Media ID" %}
{% endif %}
{% trans "Layouts" %}
{% for item in inventory.layouts %} {% endfor %}
{% trans "ID" %} {% trans "Name" %} {% trans "Size" %} {% trans "Complete" %} {% trans "Downloaded" %}
{{ item.itemId }} {{ item.layout }} {{ item.size|byteFormat }} {{ item.bytesRequested|byteFormat }}
{% trans "Media" %}
{% for item in inventory.media %} {% endfor %}
{% trans "ID" %} {% trans "Name" %} {% trans "Type" %} {% trans "File Name" %} {% trans "Size" %} {% trans "Complete" %} {% trans "Downloaded" %} {% trans "Released" %}
{{ item.itemId }} {{ item.name }} {{ item.type }} {{ item.storedAs }} {{ item.size|byteFormat }} {{ item.bytesRequested|byteFormat }}
{% trans "Widgets" %}
{% for item in inventory.widgets %} {% endfor %}
{% trans "ID" %} {% trans "Name" %} {% trans "Type" %} {% trans "Complete" %} {% trans "Downloaded" %}
{{ item.itemId }} {{ item.widgetName }} {{ item.type }} {{ item.bytesRequested|byteFormat }}
{% if currentUser.featureEnabled("displays.reporting") %}
{% trans "Bandwidth" %}
{{ inline.dateMonth("fromDt", "From Date", defaults.fromDate, "", "", "", "") }} {{ inline.dateMonth("toDt", "To Date", defaults.toDate, "", "", "", "") }} {{ inline.hidden("displayId", display.displayId) }}
{% endif %} {% endblock %} {% block javaScript %} {% endblock %}