{% extends 'signage/_layout.html.twig' %} {% import 'signage/_macros.html.twig' as sg %} {% block signage_title %}{{ playlist.name }}{% endblock %} {% block signage_javascripts %} {% endblock %} {% block signage_content %} {% set editor = is_granted('ROLE_SIGNAGE_EDITOR') %} {% set token = csrf_token('signage_playlist_' ~ playlist.id) %} {% set items = playlist.items %} Alle Playlists

{{ playlist.name }}

{{ playlist.playlistKey }} in {{ event_count }} Termin{{ event_count != 1 ? 'en' }} {{ playlist.volume }} %

Ablauf

{% if editor %} Änderungen werden automatisch gespeichert{% endif %}
{{ items|length }} Videos Gesamtdauer {{ sg.duration(playlist.totalDurationS) }}
{% if editor %}Zum Sortieren ziehen · Videos aus der Bibliothek hineinziehen{% endif %}
    {% for item in items %} {% set m = item.media %}
  1. {% if editor %} {% else %}{% endif %} {{ loop.index }} {{ sg.thumb(m) }}
    {{ m.name }}
    {{ sg.duration(m.durationS) }} · {{ sg.format(m) }}
    {% if editor %} {% for action, cfg in {up: ['fa-arrow-up', 'Nach oben'], down: ['fa-arrow-down', 'Nach unten']} %}
    {% endfor %}
    {% endif %}
  2. {% endfor %}
{% if editor %}Noch leer. Videos aus der Bibliothek hierher ziehen oder dort auf klicken.{% else %}Diese Playlist enthält noch keine Videos.{% endif %}
Leere Playlists werden nicht veröffentlicht.

Einstellungen

{{ playlist.volume }} %
{% if editor %}
{% endif %}
{% if editor %}
{% if event_count > 0 %}Wird in {{ event_count }} Termin{{ event_count != 1 ? 'en' }} verwendet und kann deshalb nicht gelöscht werden.{% else %}Bereits veröffentlichte Versionen bleiben beim Löschen unverändert.{% endif %}
{% endif %}
{% if editor %} {% endif %}
{% endblock %}