{% extends "package/base.html" %} {% block subtitle %}{{ pkg.title or pkg.name }}{% endblock %} {# # TODO this should be inserted by ckanext-dcat {% block links -%} {{ super() }} {% endblock -%} #} {% block primary_content %} {% block content_action %}
  • Feedback
  • {# NOTE: Not implemented in stage 1 #} {#
  • {% link_for _('History'), controller='dataset', action='history', id=pkg.name, class_='btn', icon='undo' %}
  • #} {% if h.check_access('package_update', {'id':pkg.id }) %}
  • {% link_for _('Edit'), controller='dataset', action='edit', id=pkg.name, class_='btn btn-primary', icon='wrench' %}
  • {% endif %} {#
  • {{ h.follow_button('dataset', pkg.id) }}
  • #}
    {% endblock %} {% if h.get_pkg_dict_extra(pkg, 'accessLevel') == 'non-public' %}
    This metadata record is available for the public, but the data itself is not public for privacy or security reasons. See details
    {% endif %} {% if c.pkg_dict.organization.organization_type != 'Federal Government' %}
    This is a Non-Federal dataset covered by different Terms of Use than Data.gov. {% if c.pkg_dict.organization.terms_of_use %} See Terms {% endif %}
    {% endif %}
    {% block package_revision_info %} {% if c.pkg_revision_id %}

    {% set timestamp = h.render_datetime(c.pkg_revision_timestamp, with_hours=True) %} {% set url = h.url_for(controller='dataset', action='read', id=pkg.name) %} {% if c.pkg_revision_not_latest %} {% trans timestamp=timestamp, url=url %}This is an old revision of this dataset, as edited at {{ timestamp }}. It may differ significantly from the current revision.{% endtrans %} {% else %} {% trans timestamp=timestamp %}This is the current revision of this dataset, as edited at {{ timestamp }}.{% endtrans %} {% endif %}

    {% endif %} {% endblock %} {% block primary_content_inner %}{% endblock %}
    {% endblock %} {% block secondary_content %} {% block secondary_help_content %}{% endblock %}
    {% block package_organization %} {% if pkg.organization %} {% set org = h.get_organization(pkg.organization.id) %} {% snippet "snippets/organization.html", organization=org, pkg=pkg %} {% endif %} {% endblock %}
    {% block package_groups %} {% if pkg.groups %}

    {{ _('Topics') }}

    {% endif %} {% endblock %} {% block package_publisher %} {% if h.get_pkg_dict_extra(c.pkg_dict, 'publisher') and h.get_pkg_dict_extra(c.pkg_dict, 'publisher').strip()|length > 0 %}
    {% block publisher_title %}

    Default Publisher Icon {{ _('Publisher') }}

    {% endblock %} {% block publisher_content %}

    {{ h.get_pkg_dict_extra(c.pkg_dict, 'publisher') }}

    {% endblock %}
    {% endif %} {% endblock %} {% block package_contact %} {% if (c.pkg_dict.maintainer_email and c.pkg_dict.maintainer_email.strip()|length > 0) or (c.pkg_dict.maintainer and c.pkg_dict.maintainer.strip()|length > 0 ) or (h.get_pkg_dict_extra(c.pkg_dict, 'contact-email') and h.get_pkg_dict_extra(c.pkg_dict, 'contact-email').strip()|length > 0 ) %}
    {% block contact_title %}

    {{ _('Contact') }}

    {% endblock %} {% block contact_content %}

    {% if c.pkg_dict.maintainer and c.pkg_dict.maintainer_email %} {{ c.pkg_dict.maintainer|e }} {% elif c.pkg_dict.maintainer and not c.pkg_dict.maintainer_email %} {{ c.pkg_dict.maintainer }} {% elif not c.pkg_dict.maintainer and c.pkg_dict.maintainer_email %} {{ c.pkg_dict.maintainer_email|e }} {% else %} {{ h.get_pkg_dict_extra(c.pkg_dict, 'contact-email')|e }} {% endif %}

    {% endblock %}
    {% endif %} {% endblock %} {% block package_social %} {% snippet "snippets/social.html" %} {% endblock %}
    {% snippet "snippets/organization.html", organization=pkg.organization %}
    {% endblock %}