{% extends "package/base.html" %} {% block subtitle %}{{ pkg.title or pkg.name }}{% endblock %} {% block links -%} {{ super() }} {% endblock -%} {% block actions_content %} {# NOTE: Not implemented in stage 1 #} {#
  • {% link_for _('History'), controller='package', action='history', id=pkg.name, class_='btn', icon='undo' %}
  • #} {% if h.check_access('package_update', {'id':pkg.id }) %}
  • {% link_for _('Edit'), controller='package', action='edit', id=pkg.name, class_='btn btn-primary', icon='wrench' %}
  • {% endif %}
  • {{ h.follow_button('dataset', pkg.id) }}
  • {% endblock %} {% block primary_content %}
    {% block page_header %} {% endblock %} {% 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(controller='package', 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 %} {% snippet "snippets/organization.html", organization=pkg.organization %} {% endif %} {% endblock %} {% block package_groups %} {% if pkg.groups %}

    {{ _('Groups') }}

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