{% extends "bases/unical_api_list.html" %} {% load i18n %} {% load static %} {% load unicms_templates %} {% block content %} {% settings_value "CMS_PATH_PREFIX" as cms_path_prefix %}
{% comment %} {% endcomment %}
[[ item.media.title ]]
[ [[ item.media.file_type ]] - [[ item.media.file_size ]] KB ]
{% 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-public-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! this.parameters = {{ id }}_encodeQueryData(this.getItemsFromSession("{{ id }}")) this.parameters += "&ordering=order" {% endblock extra_mounted %}