{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (${FILE_NAME}) */ #} {% extends "form-base.twig" %} {% import "inline.twig" as inline %} {% block formTitle %} {% trans "Assign an item from the Library" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Save" %}, LibraryAssignSubmit({{ playlist.playlistId }}) {% endblock %} {% block callBack %}mediaFormCallBack{% endblock %} {% block formHtml %}
{{ inline.hidden("retired", 0) }} {{ inline.hidden("assignable", 1) }}
{% set title %}{% trans "Name" %}{% endset %} {{ inline.input("media", title) }}
{% set title %}{% trans "Type" %}{% endset %} {{ inline.dropdown("type", "single", title, "", [{type: null, name: ""}]|merge(modules), "type", "name") }}
{% trans "ID" %} {% trans "Name" %} {% trans "Type" %} {% trans "Thumbnail" %}

{% trans "Assignments" %}

    {% for item in media %}
  • {{ item.name }}
  • {% endfor %}
{% set title %}{% trans "Use library duration?" %}{% endset %} {% set helpText %}{% trans "Check this option to use the duration from the Library for this assignment" %}{% endset %} {{ helpText }}
{% endblock %}