diff --git a/ckan/templates/package/read_base.html b/ckan/templates/package/read_base.html index d4ee8468941..30b5b3afda1 100644 --- a/ckan/templates/package/read_base.html +++ b/ckan/templates/package/read_base.html @@ -17,23 +17,6 @@ {% endblock %} {% block primary_content %} - {% 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 page_header %} @@ -44,6 +27,23 @@ ] %} {% 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 %}