{% extends "package/base.html" %} {% block subtitle %}{{ h.dataset_display_name(pkg) }} - {{ super() }}{% endblock %} {% block head_extras -%} {{ super() }} {% set description = h.markdown_extract(pkg.notes, extract_length=200)|forceescape %} {% endblock -%} {% block content_action %} {% if h.check_access('package_update', {'id':pkg.id }) %} {% link_for _('Manage'), controller='package', action='edit', id=pkg.name, class_='btn', icon='wrench' %} {% endif %} {% endblock %} {% block content_primary_nav %} {{ h.build_nav_icon('dataset_read', _('Dataset'), id=pkg.name) }} {{ h.build_nav_icon('dataset_groups', _('Groups'), id=pkg.name) }} {{ h.build_nav_icon('dataset_activity', _('Activity Stream'), id=pkg.name) }} {% endblock %} {% block primary_content_inner %} {% block package_revision_info %} {% if c.revision_date %}
{% set timestamp = h.render_datetime(c.revision_date, with_hours=True) %} {% set url = h.url_for(controller='package', action='read', id=pkg.name) %} {% 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 %}