diff --git a/ckan/templates/snippets/group.html b/ckan/templates/snippets/group.html index 2c3fcba4bf0..89e1ab7f8e7 100644 --- a/ckan/templates/snippets/group.html +++ b/ckan/templates/snippets/group.html @@ -4,6 +4,6 @@

{{ group.name }}

-

{{ h.markdown_extract(group.description) }}

+

{{ h.markdown_extract(group.description, 70) }}

diff --git a/ckan/templates/snippets/related.html b/ckan/templates/snippets/related.html index 55a17eec46f..7fcfe555d91 100644 --- a/ckan/templates/snippets/related.html +++ b/ckan/templates/snippets/related.html @@ -1,14 +1,17 @@ {% set item = pkg.related | first %}

Related Add Related

-
+
{% if item %} - {{ item.type }} - {{ item.title }} - {{ item.description }} - {{ item.url }} - {{ item.image_url }} - {{ item.id }} + {% with url = h.url_for(controller='related', action='list', id=pkg.name) %} + +
+

{{ item.title }}

+

{{ h.markdown_extract(item.description, 70) }}

+
+ {% endwith %} {% else %}

No apps, ideas, news stories or images have been related to this dataset yet, why not add one now?