From 825a6da2a3cf98974df74cd90fc99b00e639860f Mon Sep 17 00:00:00 2001 From: John Martin Date: Tue, 11 Jun 2013 11:55:24 +0100 Subject: [PATCH] [#864] Add clearfix for related lists --- ckan/templates/related/snippets/related_item.html | 3 +++ ckan/templates/related/snippets/related_list.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ckan/templates/related/snippets/related_item.html b/ckan/templates/related/snippets/related_item.html index 02585bbbfda..39231a7a217 100644 --- a/ckan/templates/related/snippets/related_item.html +++ b/ckan/templates/related/snippets/related_item.html @@ -38,3 +38,6 @@

{{ related.title }}

{{ h.nav_link(_('Edit'), controller='related', action='edit', id=pkg_id, related_id=related.id, class_='btn btn-primary btn-small media-edit') }} {% endif %} +{% if position is divisibleby 3 %} +
  • +{% endif %} diff --git a/ckan/templates/related/snippets/related_list.html b/ckan/templates/related/snippets/related_list.html index cdfd23954e9..7256ba97dc3 100644 --- a/ckan/templates/related/snippets/related_list.html +++ b/ckan/templates/related/snippets/related_list.html @@ -13,6 +13,6 @@ #}