{% extends "bases/unical_storage_list.html" %} {% load i18n %} {% load static %} {% load unicms_storage_handler %} {% load unicms_templates %} {% block content %} {% get_allowed_website request.get_host as host %} {% settings_value "CMS_PATH_PREFIX" as cms_path_prefix %} {% settings_value "CMS_STORAGE_BASE_PATH" as base_prefix %} {% settings_value "CMS_STORAGE_PUBLICATIONS_VIEW_PREFIX_PATH" as publications_prefix %} {% settings_value "CMS_STORAGE_THEACHER_VIEW_PREFIX_PATH" as teacher_prefix %}

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

[[ item.PublicationTitle ]]

[[ item.PublicationContributors ]]

[[ labels['PublicationYear'] ]] > [[ item.PublicationYear ]]
[[ labels['PublicationCommunity'] ]] > [[ item.PublicationCommunity ]]
{% trans "No items here" %}
{% endblock content %} {% block extra_scripts %} {% endblock extra_scripts %} {% block extra_data %} selected_types: this.getItemFromSession("{{ id }}", 'type'), selected_search: this.getItemFromSession("{{ id }}", 'search'), selected_year: this.getItemFromSession("{{ id }}", 'year') || {{ id }}_get_param('year'), is_loading_types: true, {% settings_value "CMS_STORAGE_COMMUNITYTYPES_API" as types_api %} {% get_current_language as LANGUAGE_CODE %} loader_source_types: '{{ types_api }}?lang={{ LANGUAGE_CODE }}', types_filter: [] {% endblock extra_data %} {% block extra_mounted %} this.parameters = {{ id }}_encodeQueryData(this.getItemsFromSession("{{ id }}")) this.callTypes(); {% endblock extra_mounted %} {% block extra_methods %} callTypes() { axios .get(this.loader_source_types) .then(response => { this.types_filter = response.data.results; this.is_loading_types = false }) }, {% endblock extra_methods %}