{% extends "bases/unical_api_list.html" %} {% load i18n %} {% load static %} {% load unicms_templates %} {% block content %} {% settings_value "CMS_PATH_PREFIX" as cms_path_prefix %}

{% include "includes/unical_storage_search_input.html" with id=id %}

[[ item.media.title ]]

[[ item.media.description ]]
{% trans "Last edit" %}: [[ item.modified ]]
{% trans "No items here" %}
{% endblock content %} {% block extra_scripts %} {% endblock extra_scripts %} {% block extra_data %} {% get_current_language as LANGUAGE_CODE %} search_dict: {}, selected_search: this.getItemFromSession("{{ id }}", 'search'), {% endblock extra_data %} {% block extra_mounted %} this.url = "{% url 'unicms_api:media-collection-items' collection_id=collection.pk %}" // if url if pre-filtered resize select field // this allows to auto generate select options according to URL get filters! let params = new URLSearchParams(this.url.split('?')[1]); this.parameters = {{ id }}_encodeQueryData(this.getItemsFromSession("{{ id }}")) {% endblock extra_mounted %}