{% extends "base.html" %} {% block title %}{{ h.dataset_display_name(package)}}—{{ h.resource_display_name(resource)}} - {{ super() }}{% endblock %} {% block bodytag %} {{- super() -}} class="dt-view" {%- endblock -%} {%- block page -%} {#- pass the datadictionary to javascript, so we can init columns there -#} {%- set datadictionary = h.datastore_dictionary(resource.id, resource_view.get('show_fields')) -%} {%- set nbspval = " "|safe -%} {%- set current_language = h.lang() -%}
_id | {% for field in datadictionary -%}{%- if data_dictionary_labels and field.info is defined and field.info.label|length -%} {{ field.info.label|replace(" ", nbspval) }} {%- else -%} {{ field.id|replace(" ", nbspval) }} {%- endif -%} {%- if data_dictionary_labels and field.info is defined and (field.info.label|length or field.info.notes|length)-%} {%- endif -%} | {% endfor -%}colspacer |
---|---|---|
{% for field in datadictionary -%} | {{- field.id -}} | {% endfor -%}