芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/www/midiatech/views/module-form-delete.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (${FILE_NAME}) */ #} {% extends "form-base.twig" %} {% import "forms.twig" as forms %} {% block formTitle %} {% trans "Delete Widget" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Yes" %}, $("#widgetDeleteForm").submit() {% endblock %} {% block formHtml %}
{% set message %}{% trans "Are you sure you want to remove this widget?" %}{% endset %} {{ forms.message(message) }} {% set message %}{% trans "This action cannot be undone." %}{% endset %} {{ forms.message(message) }} {% if module.getModule().regionSpecific == 0 and module.widget.mediaIds|length > 0 %} {% set message %}{% trans "This widget is linked to Media in the Library which is also in use elsewhere. If the Library item should be deleted then please do so from the Library page." %}{% endset %} {{ forms.message(message, "alert alert-info") }} {% endif %}
{% endblock %}