{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (${FILE_NAME}) */ #} {% extends "authed.twig" %} {% import "inline.twig" as inline %} {% block pageContent %} {% set displayName = display.display %} {% 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" %}
{% trans "Errors in the Last 12 hours" %}
{% trans "ID" %} {% trans "Date" %} {% trans "Message" %}
{% 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.routeViewable("/stats") %}
{% trans "Bandwidth" %}
{{ inline.date("fromDt", "From Date", defaults.fromDate, "", "", "", "") }} {{ inline.date("toDt", "To Date", defaults.toDate, "", "", "", "") }} {{ inline.hidden("displayId", display.displayId) }}
{% endif %} {% endblock %} {% block javaScript %} {% endblock %}