diff --git a/ckan/templates/related/confirm_delete.html b/ckan/templates/related/confirm_delete.html index 3589f914162..8b95a131798 100644 --- a/ckan/templates/related/confirm_delete.html +++ b/ckan/templates/related/confirm_delete.html @@ -6,6 +6,7 @@ {% block main_content %}
+ {% block form %}

{{ _('Are you sure you want to delete related item - {name}?').format(name=c.related_dict.title) }}

@@ -14,6 +15,7 @@

+ {% endblock %}
{% endblock %} diff --git a/ckan/templates/related/dashboard.html b/ckan/templates/related/dashboard.html index 9be4d69972c..94d52cd0778 100644 --- a/ckan/templates/related/dashboard.html +++ b/ckan/templates/related/dashboard.html @@ -12,8 +12,11 @@ {% block primary_content %}
-

{{ _('Apps & Ideas') }}

+

+ {% block page_heading %}{{ _('Apps & Ideas') }}{% endblock %} +

+ {% block related_items %} {% if item_count %} {% trans first=page.first_item, last=page.last_item, item_count=item_count %}

Showing items {{ first }} - {{ last }} of {{ item_count }} related items found

@@ -25,11 +28,16 @@

{{ _('Apps & Ideas') }}

{% else %}

{{ _('There have been no apps submitted yet.') }} {% endif %} + {% endblock %} + {% block related_list %} {% snippet "related/snippets/related_list.html", related_items=page.items %} + {% endblock %}

+ {% block page_pagination %} {{ page.pager() }} + {% endblock %}
{% endblock %}