{% load static %} {% load i18n %} {% load unicms_storage_handler %} {% load unicms_templates %} {% random_id uid as id %} {% include "includes/unical_storage_loading.html" %} {% settings_value "STRUCTURE_INFO_NOT_SHOW" as fields_to_hide %} {% get_allowed_website request.get_host as host %} {% get_current_language as LANGUAGE_CODE %} {% settings_value "ALLOWED_ADDRESSBOOK_ROLES" as allowed_addressbook_roles %} {% settings_value "ALLOWED_STRUCTURE_TYPES" as allowed_structure_types %} {% settings_value "CMS_PATH_PREFIX" as cms_path_prefix %} {% settings_value "CMS_STORAGE_BASE_PATH" as base_prefix %} {% settings_value "CMS_STORAGE_STRUCTURE_VIEW_PREFIX_PATH" as structures_prefix %} {% settings_value "CMS_STORAGE_ADDRESSBOOK_VIEW_PREFIX_PATH" as addressbook_prefix %} {% settings_value "CMS_STORAGE_LABORATORY_VIEW_PREFIX_PATH" as laboratories_prefix %} {% settings_value "CMS_STORAGE_ADDRESSBOOK_API" as addressbook_api %} {% settings_value "CMS_STORAGE_STRUCTURE_API" as structures_api %} {% settings_value "CMS_STORAGE_LABORATORY_API" as laboratories_api %} {% settings_value "CMS_STORAGE_STRUCTUREFUNCTIONS_API" as functions_api %}

[[ item.StructureName ]]


[[ labels[name] ]]
    • [[ labels[nameProfileInstance] ]] : [[ valueProfileInstance ]]
  • [[ labels[nameProfile] ]] : [[ valueProfile ]]
  • [[ subvalue ]]
[[ item.StructureFatherName ]] [[ value ]]
{% trans "Manager" %}
  • [[ subvalue.Name ]] - [[ subvalue.Function ]]
  • {% include "includes/unical_storage_empty.html" with url=url %}
    {% with allowed_addressbook_roles|join:"," as allowed_address_book_roles_list %} {% with allowed_structure_types|join:"," as allowed_structure_types_list %} {% with "&role="|add:allowed_address_book_roles_list as roles_filter %} {% with "&structuretypes="|add:allowed_structure_types_list as structure_types_filter %} {% with addressbook_api|add:"?structuretree="|add:code|add:"&structuretypes="|add:allowed_structure_types_list as personnel_url %} {% if allowed_address_book_roles_list and allowed_structure_types_list %} {% with personnel_url|add:roles_filter|add:structure_types_filter as personnel_url %} {% include "blocks/unical_storage_addressbook_without_structure_type_filter.html" with url=personnel_url structure_id=code uid=id|add:"_1" %} {% endwith %} {% elif allowed_address_book_roles_list %} {% with personnel_url|add:roles_filter as personnel_url %} {% include "blocks/unical_storage_addressbook_without_structure_type_filter.html" with url=personnel_url structure_id=code uid=id|add:"_1" %} {% endwith %} {% elif allowed_address_book_roles_list %} {% with addressbook_api|add:structure_types_filter as personnel_url %} {% include "blocks/unical_storage_addressbook_without_structure_type_filter.html" with url=personnel_url structure_id=code uid=id|add:"_1" %} {% endwith %} {% else %} {% include "blocks/unical_storage_addressbook_without_structure_type_filter.html" with url=personnel_url structure_id=code uid=id|add:"_1" %} {% endif %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %}
    {% with allowed_structure_types|join:"," as allowed_structure_types_list %} {% with "&type="|add:allowed_structure_types_list as structure_types_filter %} {% with structures_api|add:"?father="|add:code as child_structures_url %} {% if structure_types_filter %} {% with child_structures_url|add:structure_types_filter as child_structures_url %} {% include "blocks/collapse/unical_storage_collapse_structure_list.html" with url=child_structures_url uid=id|add:"_2" %} {% endwith %} {% else %} {% include "blocks/collapse/unical_storage_collapse_structure_list.html" with url=child_structures_url uid=id|add:"_2" %} {% endif %} {% endwith %} {% endwith %} {% endwith %} {% with laboratories_api|add:"?department="|add:code as laboratories_url %} {% include "blocks/collapse/unical_storage_collapse_laboratory_list_without_filters.html" with url=laboratories_url laboratories_id=code uid=id|add:"_3" %} {% endwith %}