{% ckan_extends %}

{% block extras scoped %}

        {% for extra in h.sorted_extras(pkg_dict.extras) %}
          {% set key, value = extra %}
          {% if value and value != "[]" and value != "{}" %}
                  <tr rel="dc:relation" resource="_:extra{{ i }}">
                    <th scope="row" class="dataset-label" property="rdfs:label">{{ _(key) }}</th>
                    {% if key == "contact-email" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.mail_to(email_address=value, name=value) }}</td>
                    {% elif key == "dataset-reference-date" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.get_reference_date(value) }}</td>
                    {% elif key == "responsible-party" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.get_responsible_party(value) }}</td>
                    {% else %}
                    	<td class="dataset-details" property="rdf:value">{{ value }}</td>
                    {% endif %}
                  </tr>
          {% endif %}
        {% endfor %}

{% endblock %}
{% ckan_extends %}

{% block extras scoped %}

        {% for extra in h.sorted_extras(pkg_dict.extras) %}
          {% set key, value = extra %}
          {% if value and value != "[]" and value != "{}" %}
          	{% if key == "spatial" %}
          		{# No lo mostramos #}
          	{% else %}
                  <tr rel="dc:relation" resource="_:extra{{ i }}">
                    <th scope="row" class="dataset-label" property="rdfs:label">{{ _(key) }}</th>
                    {% if key == "contact-email" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.mail_to(email_address=value, name=value) }}</td>
                    {% elif key == "dataset-reference-date" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.get_reference_date(value) }}</td>
                    {% elif key == "responsible-party" %}
                    	<td class="dataset-details" property="rdf:value">{{ h.get_responsible_party(value) }}</td>
                    {% else %}
                    	<td class="dataset-details" property="rdf:value">{{ value }}</td>
                    {% endif %}
                  </tr>
			{% endif %}
          {% endif %}
        {% endfor %}

{% endblock %}
Hide the field 'spatial' in a metadata from the harvest
Hide the field 'spatial' in a metadata from the harvest
