From 3d3c07dc144cc3c2b3ddc94667a39dd8b3975ae4 Mon Sep 17 00:00:00 2001 From: KrzysztofMadejski Date: Fri, 3 Apr 2015 11:09:43 +0200 Subject: [PATCH] closes #58 --- ckanext/danepubliczne/templates/group/read_base.html | 10 +++++----- .../templates/organization/read_base.html | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ckanext/danepubliczne/templates/group/read_base.html b/ckanext/danepubliczne/templates/group/read_base.html index d67e1da..b9e5f89 100644 --- a/ckanext/danepubliczne/templates/group/read_base.html +++ b/ckanext/danepubliczne/templates/group/read_base.html @@ -4,10 +4,14 @@ {% block styles %} {{ super() }} - {% resource 'dane_publiczne/list.css' %} {% endblock %} +{% block links %} + {{ super() }} + {% include "group/snippets/feeds.html" %} +{% endblock %} + {% set category_title = group.get('title_i18n',{})[h.lang()] or group.title %} {% block subtitle %}{{ category_title }} - {{ _('Categories') }}{% endblock %} @@ -86,10 +90,6 @@

{{ category_title }}{% if
diff --git a/ckanext/danepubliczne/templates/organization/read_base.html b/ckanext/danepubliczne/templates/organization/read_base.html index 4d14648..51856cf 100644 --- a/ckanext/danepubliczne/templates/organization/read_base.html +++ b/ckanext/danepubliczne/templates/organization/read_base.html @@ -8,6 +8,11 @@ {% resource 'dane_publiczne/list.css' %} {% endblock %} +{% block links %} + {{ super() }} + {% include "organization/snippets/feeds.html" %} +{% endblock %} + {% block subtitle %}{{ organization.display_name }} - {{ _('Organizations') }}{% endblock %} {%- block content %}