{% ckan_extends %}

  {% block package_info %}
    {{ super() }}
    {% if pkg %}
      {% set versions=h.datasetversions_list(pkg) %}
      {% if versions %}
  <section class="module module-narrow module-shallow">
    <h2 class="module-heading"><i class="icon-medium icon-calendar"></i> {{ _('Versions') }}</h2>
    <ul class="nav nav-simple dataset-version-list">
        {% for version, url in versions %}
      <li class="nav-item">{% link_for version, controller='package', action='read', id=url %}</li>
        {% endfor %}
    </ul>
  </section>
      {% endif %}
    {% endif %}
  {% endblock %}
