{% set urn_url = h.get_urn_fi_address(pkg_dict) %}

{{ _('General information') }}

{%- if urn_url -%}

{{ urn_url }}

{%- endif -%} {% if pkg_dict.language or pkg_dict.langdis %}
{{ _('Language') }} {% if pkg_dict.language != 'None' %}{{pkg_dict.language}}{% else %}{{ _('No language') }}{% endif%}
{% endif %} {% if pkg_dict.langtitle %}

{{ _('Titles') }}

{% for langtitle in pkg_dict.langtitle %} {% endfor %}
{{ _('Title') }} {{ _('Language') }}
{{ langtitle.value }} {{ langtitle.lang }}
{% endif %} {% if pkg_dict.agent %}

{{ _('Agents') }}

{% set nme = true if h.has_agents_field(pkg_dict, 'name') %} {% set org = true if h.has_agents_field(pkg_dict, 'organisation') %} {% set url = true if h.has_agents_field(pkg_dict, 'URL') %} {% set fid = true if h.has_agents_field(pkg_dict, 'fundingid') %} {# IE9 needs colgroup #} {# role #} {% if nme %}{% endif %} {% if org %}{% endif %} {% if url %}{% endif %} {% if nme %}{% endif %} {% if org %}{% endif %} {% if url %}{% endif %} {% for role in pkg_dict.agent|groupby('role') if role.grouper != 'funder' %} {% for agent in role.list %} {% if loop.first %} {% endif %} {% if nme %}{% endif%} {% if org %}{% endif%} {% if url %}{% endif%} {% endfor %} {% endfor %}
{{ _('Role') }}{{ _('Name') }}{{ _('Organisation') }}{{ _('URL') }}
{{ _(h.resolve_agent_role(role.grouper)) }}{{ agent.name }}{{ agent.organisation }}{{ agent.URL }}

{{ _('Project and funding information') }}

{% set funders = h.get_funders(pkg_dict) %} {% if funders %} {% if nme %}{% endif %} {% if org %}{% endif %} {% if url %}{% endif %} {% if fid %}{% endif %} {% if nme %}{% endif %} {% if org %}{% endif %} {% if url %}{% endif %} {% if fid %}{% endif %} {% for f in funders %} {% if nme %}{% endif%} {% if org %}{% endif%} {% if url %}{% endif%} {% if fid %}{% endif%} {% endfor %}
{{ _('Project name') }}{{ _('Funder') }}{{ _('URL') }}{{ _('Funding id') }}
{{ f.name }}{{ f.organisation }}{{ f.URL }}{{ f['fundingid'] }}
{% else %}

{{ _('No funding information is available.') }}

{% endif %} {% endif %}

{{ _('Description') }}

{% if not pkg_notes_formatted == '' %}
{{ pkg_notes_formatted }}
{% else %}

{{ _('No description') }}

{% endif%}
{% block package_tags %} {% if pkg_dict.tags %}

{{ _('Keywords') }}

{% endif %} {% snippet "package/snippets/tags.html", tags=pkg_dict.tags %} {% endblock %}

{{ _('Usage information') }}

{{ _('This dataset is') }} {% if pkg_dict.availability == 'access_application' %}{{ _(' available via an access form in ') }}{{ _('this link')}} {% endif%} {% if pkg_dict.availability == 'direct_download' %}{{ _(' available freely ') }}{% if pkg_dict.direct_download_URL %} {{ _('from this address') }} {% endif %} {% endif %} {% if pkg_dict.availability == 'access_request' %}{{ _(' available via login ') }}{% if pkg_dict.access_request_URL %} {{ _('from this address') }} {% endif %} {% endif %} {% if pkg_dict.availability == 'contact_owner' %} {{ _(' available by ') -}} {% link_for _('contacting the distributor'), controller='ckanext.kata.controllers:ContactController', action='render_request', pkg_id=pkg_dict.id, class_='download' %} {% endif %} {% if pkg_dict.availability == 'through_provider' %}{{ _(' available through ') }}{{ _('data provider') }} {% endif %} {% if not pkg_dict.availability %}{{ _(' available freely or availability is not specified') }}{% endif %} {% if pkg_dict.license_title %}{{ _(' with license as ') }}{{pkg_dict.license_title}} {%- if pkg_dict.license_URL %}, {{pkg_dict.license_URL}} {%- endif -%} {%- endif %}
{% if pkg_dict.contact %} {% set email = true if h.has_contacts_field(pkg_dict, 'email') %}

{{ _('Distributors') }}

{# IE9 needs colgroup #} {% if email %}{% endif %} {% if email %}{% endif %} {% for contact in pkg_dict.contact %} {% if email %} {% if contact.email == 'hidden' %} {% else %} {% endif %} {% endif %} {% endfor %}
{{ _('Name') }}{{ _('E-Mail') }}{{ _('URL') }} {{ _('Phone') }}
{{ contact.name }}{{_('Send a message') }}{{ contact.email }}{{ contact.URL }} {{ contact.phone }}
{% endif %}

{{ _('Identification information') }}

{% if pkg_dict.version %}

{{ _('Last modification time of data') }}

{{ _('Last modified') }} {{pkg_dict.version}}
{% endif %}

{{ _('Permanent identifiers') }}

{% for pid_type in h.get_pid_types() %} {% for pid in h.get_pids_by_type(pid_type, pkg_dict, primary=False) %} {% endfor %} {% endfor %}
{{ _('Primary metadata identifier') }} {{pkg_dict.id}}
{{ _('Primary data identifier') }} {{ h.get_pids_by_type('data', pkg_dict, primary=True)[0]['id'] }}
{{ _(pid.get('type', '').capitalize() + ' identifier') }} {{pid.id}}

{{ _('Additional information on dataset') }}

{% if pkg_dict.geographic_coverage %} {% endif %} {% if pkg_dict.temporal_coverage_begin and pkg_dict.temporal_coverage_end %} {% endif %} {% if pkg_dict.publications %} {% endif %} {% if pkg_dict.collections %} {% endif %} {% if pkg_dict.erelated %} {% endif %} {% if pkg_dict.discipline %} {% endif %} {% if pkg_dict.mimetype %} {% endif %} {% if pkg_dict.algorithm and pkg_dict.checksum %} {% endif %}
{{ _('Geographical areas covered') }} {{pkg_dict.geographic_coverage}}
{{ _('Period of time covered') }} {{pkg_dict.temporal_coverage_begin}}{{_(' to ') }}{{pkg_dict.temporal_coverage_end}}
{{ _('Publications based on this data') }} {{pkg_dict.publications}}
{{ _('Dataset belongs to collection/series') }} {{pkg_dict.collections}}
{{ _('Other related datasets') }} {{pkg_dict.erelated}}
{{ _('Discipline/branch of science') }} {{pkg_dict.discipline}}
{{ _('File format') }} {{pkg_dict.mimetype}}
{{ _('Checksum') }} {{pkg_dict.checksum}}
{{ _('Algorithm') }} {{pkg_dict.algorithm}}
{% if pkg_dict.event %}

{{ _('Dataset lifecycle events') }}

{% for ev in pkg_dict.event %} {% endfor %}
{{ _(ev.get('type', ' ')) }} {{ ev.get('who', ' ') }} {{ ev.get('when', ' ') }} {{ _(ev.get('descr', ' ')) }}
{% endif %}