{% extends "settings/assets/_layout" %} {% set selectedTab = 'operations' %} {% import "_includes/forms" as forms %} {% set sources = blx.assets.getAllSources %} {% includeTranslations "The following items were found in the database that do not have a physical match.", "Folders", "Files", "Cancel", "Delete" %} {% set content %}

{{ "No sources exist yet."|t }}

{% if sources|length %} {% if transformationHandle is defined %} {% set transformationValue = transformationHandle %} {% else %} {% set transformationValue = 0 %} {% endif %} {{ forms.checkboxSelectField({ first: true, label: "Sources"|t, instructions: "Which asset sources do you want to perform operations on?"|t, id: 'sourceId', name: 'sourceId', options: sources, values: '', class: "assets-sources" }) }} {% set operationsField %} {% endset %} {{ forms.field({ label: "Operations"|t, instructions: "Which operations do you want to perform on the selected sources?" }, operationsField) }}
{{ "Start"|t }}
{% includeJsResource "js/Assets/AssetOperations.js" %} {% includeJsResource "js/QueueManager.js" %} {% endif %} {% endset %}