diff --git a/ckan/templates/group/partials/feeds.html b/ckan/templates/group/partials/feeds.html new file mode 100644 index 00000000000..fb7c48c26c1 --- /dev/null +++ b/ckan/templates/group/partials/feeds.html @@ -0,0 +1,4 @@ +{%- set dataset_feed = h.url(controller='feed', action='group', id=c.group_dict.name) -%} +{%- set history_feed = h.url(controller='revision', action='list', format='atom', days=1) -%} + + diff --git a/ckan/templates/group/read.html b/ckan/templates/group/read.html index 70b1caeb598..55bcbf23a02 100644 --- a/ckan/templates/group/read.html +++ b/ckan/templates/group/read.html @@ -40,8 +40,5 @@

{{ _('What are Grou {% block links %} {{ super() }} - {%- set dataset_feed = h.url(controller='feed', action='group', id=c.group_dict.name) -%} - {%- set history_feed = h.url(controller='revision', action='list', format='atom', days=1) -%} - - + {% include "group/partials/feeds.html" %} {% endblock %}