芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/views/playlist-form-library-assign.twig
{# /* * 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 %}
{% endblock %}