{% load template_tags %} {% for resource in resources %} {% with resource_data=resource.resource %} {{ resource.grafo }} ID de sistema: {{ resource.resourceinstanceid }} {% if resource_data %}

{{ resource.displayname|truncatewords:10 }}

Identificación
{% if resource_data|has_key:"Identificación" %}
Código principal: {{ resource_data|val_from_key:"Identificación"|val_from_key:"Código principal" }}
Código anterior: {{ resource_data|val_from_key:"Identificación"|val_from_key:"Código anterior" }}
Código alternativo: {{ resource_data|val_from_key:"Identificación"|val_from_key:"Código alternativo" }}
Filiación cultural: {{ resource_data|val_from_key:"Identificación"|val_from_key:"Filiación cultural" }}
Ámbito / subámbito: {{ resource_data|val_from_key:"Identificación"|val_from_key:'Ámbito / subámbito' }}
Nominación actual: {{ resource_data|val_from_key:"Identificación"|val_from_key:'Nominación actual' }}
Origen o procedencia: {{ resource_data|val_from_key:"Identificación"|val_from_key:'Origen o procedencia' }}
Nominación anterior: {{ resource_data|val_from_key:"Identificación"|val_from_key:'Nominación anterior' }}
Manifestación cultural: {{ resource_data|val_from_key:"Identificación"|val_from_key:'Manifestación cultural' }}
{% endif %}
Imagen de referencia
{% if resource_data|has_key:"Información gráfica" %} {% with medios=resource_data|val_from_key:'Información gráfica'|val_from_key:'Medio de información' %} {{medios.0.file}} {% endwith %} {% endif %}
Ubicación
{% if resource_data|has_key:"Ubicación 2" %}
Localidad: {{ resource_data|val_from_key:"Ubicación 2"|val_from_key:"Departamento" }}
Departamento: {{ resource_data|val_from_key:"Ubicación 2"|val_from_key:"Ubicación extendida" }}
Otra localidad: {{ resource_data|val_from_key:"Ubicación 2"|val_from_key:"Otra localidad" }}
Coordenadas / Geometría:
{% if resource_data|val_from_key:"Ubicación 2"|has_key:"Coordenadas / Geometría" %} {% with gis_vector=resource_data|val_from_key:"Ubicación 2"|val_from_key:"Coordenadas / Geometría"|val_from_key:"@value"|json_to_obj %} {% for gis in gis_vector.features %}
{{ gis.geometry }}
{% endfor %} {% endwith %}
Geometría principal: {{ resource_data|val_from_key:"Ubicación 2"|val_from_key:"Coordenadas / Geometría"|val_from_key:"Tipo de geometría" }}
{% endif %} {% endif %}
Mapa de referencia
Marco legal
{% if resource_data|has_key:"Marco legal" %}
Reconocimiento Internacional: {{ resource_data|val_from_key:"Marco legal"|val_from_key:" Reconocimiento Internacional" }}
Patrimonio Cultural Departamental: {{ resource_data|val_from_key:"Marco legal"|val_from_key:"Patrimonio Cultural Departamental" }}
Patrimonio Cultural Nacional: {{ resource_data|val_from_key:"Marco legal"|val_from_key:"Patrimonio Cultural Nacional" }}
Patrimonio Cultural Municipal: {{ resource_data|val_from_key:"Marco legal"|val_from_key:"Patrimonio Cultural Municipal" }}
{% endif %}
Características
{% if resource_data|has_key:"Características" %} {% for desc in resource_data|val_from_key:"Características" %} {% if desc == "Principales transformaciones de la expresión Cultural" or desc == "Riesgos y amenazas" %}
{{ desc }} :
{{ resource_data|val_from_key:"Características"|val_from_key:desc|safe|cut:"

 

" }}
{% elif resource_data|val_from_key:"Características"|val_from_key:desc|has_key:"Descripción resumida" and resource_data|val_from_key:"Características"|val_from_key:desc|has_key:"@value" %}
{{ desc }} :
{{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"@value" }}
Descripción resumida : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Descripción resumida"|safe|cut:"

 

" }}
{% elif desc == "Descripción del ámbito" %}
{{ desc }} :
{{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"@value" }}
{{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Descripción" }}
{% elif desc == "Mecanismo de transmisión" %}
{{ desc }} :
Mecanismo : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Mecanismo" }}
Otro mecanismo : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Otro mecanismo" }}
Descripción resumida : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Descripción resumida"|safe|cut:"

 

" }}
{% elif desc == "Expresiones musicales" %}
{{ desc }} :
Historias de vida (música, canto y danza) : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Historias de vida (música, canto y danza)" }}
Género musical : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Género musical" }}
Forma musical (subgénero) : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Forma musical (subgénero)" }}
Canto : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Canto" }}
Danza : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Danza" }}
Descripción resumida : {{ resource_data|val_from_key:"Características"|val_from_key:desc|val_from_key:"Descripción resumida"|safe|cut:"

 

" }}
{% elif desc == "Elementos significativos" %}
{{ desc }} :
{% for item in resource_data|val_from_key:"Características"|val_from_key:"Elementos significativos" %}
Nombre : {{ item|val_from_key:"Nombre" }}
Tipo : {{ item|val_from_key:"Tipo" }}
Detalle del elemento : {{ item|val_from_key:"Detalle del elemento" }}
{% endfor %} {% endif %} {% endfor %} {% endif %}
Medios adjuntos
{% if resource_data|has_key:"Información gráfica" %}
{% for medio in resource_data|val_from_key:'Información gráfica'|val_from_key:'Medio de información' %} {% endfor %}
{% endif %}
Descripción general
{% if resource_data|has_key:"Descripción asignada" %}
{{ resource_data|val_from_key:"Descripción asignada"|val_from_key:"Tipo de descripción" }} :
{{ resource_data|val_from_key:"Descripción asignada"|val_from_key:"Descripción"|safe|cut:"

 

" }}
{% endif %}
Responsables
{% if resource_data|has_key:"Responsables" %}
Entidad administrativa : {{ resource_data|val_from_key:"Responsables"|val_from_key:"Entidad administrativa" }}
{% if resource_data|val_from_key:"Responsables"|has_key:"Responsable" %} {% for item in resource_data|val_from_key:"Responsables"|val_from_key:"Responsable" %}
{{ item|val_from_key:"Rol" }} ({{ item|val_from_key:"Fecha" }}) : {{ item|val_from_key:"@value" }}
{% endfor %} {% endif %} {% endif %}
{% if resource_data|has_key:"Información gráfica" and resource.print_imgs %}

Anexo de imágenes

{% endif %} {% else %}

El recurso no tiene información.

{% endif %} {% endwith %} {% endfor %}