+
+
+
{{ group.display_name }}
diff --git a/ckan/templates/home/index.html b/ckan/templates/home/index.html
index 6aad1857c9f..54c42d8232d 100644
--- a/ckan/templates/home/index.html
+++ b/ckan/templates/home/index.html
@@ -30,7 +30,7 @@ {{ _("Welcome to CKAN") }}
- {{ _("This is a featured section") }}
+ {{ _("This is a featured section") }}
diff --git a/ckan/templates/snippets/group.html b/ckan/templates/snippets/group.html
index f82731cb7ea..86b5b531abd 100644
--- a/ckan/templates/snippets/group.html
+++ b/ckan/templates/snippets/group.html
@@ -13,11 +13,11 @@
{% with truncate=truncate or 0, url=h.url_for(controller='group', action='read', id=group.name) %}
-
+
-
- {{ group.title or group.name }}
+
+ {{ group.title or group.name }}
{% if group.description %}
{% if truncate_description %}
{{ group.description }}
diff --git a/ckan/templates/snippets/related.html b/ckan/templates/snippets/related.html
index 0c81660fe1d..fbc9902e67d 100644
--- a/ckan/templates/snippets/related.html
+++ b/ckan/templates/snippets/related.html
@@ -1,21 +1,22 @@
-{% set item = pkg.related | first %}
-
- Related Add Related
-
- {% if item %}
- {% 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?
-
- {% endif %}
-
-
+{% with item = item or pkg.related|first %}
+
+ Related Add Related
+
+ {% if item %}
+ {% 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?
+
+ {% endif %}
+
+
+{% endwith %}
diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html
index 98c8bd3dd8e..b81bcf43d1e 100644
--- a/ckan/templates/user/read.html
+++ b/ckan/templates/user/read.html
@@ -19,7 +19,7 @@
- {{ h.linked_gravatar(user.email_hash, 150) }}
+ {{ h.linked_gravatar(user.email_hash, 150) }}
{{ group.display_name }}
diff --git a/ckan/templates/home/index.html b/ckan/templates/home/index.html
index 6aad1857c9f..54c42d8232d 100644
--- a/ckan/templates/home/index.html
+++ b/ckan/templates/home/index.html
@@ -30,7 +30,7 @@ {{ _("Welcome to CKAN") }}
- {{ _("This is a featured section") }}
+ {{ _("This is a featured section") }}
diff --git a/ckan/templates/snippets/group.html b/ckan/templates/snippets/group.html
index f82731cb7ea..86b5b531abd 100644
--- a/ckan/templates/snippets/group.html
+++ b/ckan/templates/snippets/group.html
@@ -13,11 +13,11 @@
{% with truncate=truncate or 0, url=h.url_for(controller='group', action='read', id=group.name) %}
-
+
-
- {{ group.title or group.name }}
+
+ {{ group.title or group.name }}
{% if group.description %}
{% if truncate_description %}
{{ group.description }}
diff --git a/ckan/templates/snippets/related.html b/ckan/templates/snippets/related.html
index 0c81660fe1d..fbc9902e67d 100644
--- a/ckan/templates/snippets/related.html
+++ b/ckan/templates/snippets/related.html
@@ -1,21 +1,22 @@
-{% set item = pkg.related | first %}
-
- Related Add Related
-
- {% if item %}
- {% 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?
-
- {% endif %}
-
-
+{% with item = item or pkg.related|first %}
+
+ Related Add Related
+
+ {% if item %}
+ {% 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?
+
+ {% endif %}
+
+
+{% endwith %}
diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html
index 98c8bd3dd8e..b81bcf43d1e 100644
--- a/ckan/templates/user/read.html
+++ b/ckan/templates/user/read.html
@@ -19,7 +19,7 @@
- {{ h.linked_gravatar(user.email_hash, 150) }}
+ {{ h.linked_gravatar(user.email_hash, 150) }}
{{ _("This is a featured section") }}
+{{ _("This is a featured section") }}
diff --git a/ckan/templates/snippets/group.html b/ckan/templates/snippets/group.html index f82731cb7ea..86b5b531abd 100644 --- a/ckan/templates/snippets/group.html +++ b/ckan/templates/snippets/group.html @@ -13,11 +13,11 @@ {% with truncate=truncate or 0, url=h.url_for(controller='group', action='read', id=group.name) %}
-
+
-
-
{{ group.title or group.name }}
+
+
-
+{% with item = item or pkg.related|first %}
+
+
+{% endwith %}
diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html
index 98c8bd3dd8e..b81bcf43d1e 100644
--- a/ckan/templates/user/read.html
+++ b/ckan/templates/user/read.html
@@ -19,7 +19,7 @@
- {{ h.linked_gravatar(user.email_hash, 150) }}
+ {{ h.linked_gravatar(user.email_hash, 150) }}
{{ group.title or group.name }}
{% if group.description %} {% if truncate_description %}{{ group.description }}
diff --git a/ckan/templates/snippets/related.html b/ckan/templates/snippets/related.html index 0c81660fe1d..fbc9902e67d 100644 --- a/ckan/templates/snippets/related.html +++ b/ckan/templates/snippets/related.html @@ -1,21 +1,22 @@ -{% set item = pkg.related | first %} -Related Add Related
-
- {% if item %}
- {% with url = h.url_for(controller='related', action='list', id=pkg.name) %}
-
-
-
-
-
-
- {% endwith %}
- {% else %}
- {{ item.title }}
-{{ h.markdown_extract(item.description, 70) }}
-No apps, ideas, news stories or images have been - related to this dataset yet, why not add one now?
- - {% endif %} -Related Add Related
+
+ {% if item %}
+ {% with url = h.url_for(controller='related', action='list', id=pkg.name) %}
+
+
+
+
+
+
+ {% endwith %}
+ {% else %}
+ {{ item.title }}
+{{ h.markdown_extract(item.description, 70) }}
+No apps, ideas, news stories or images have been + related to this dataset yet, why not add one now?
+ + {% endif %} +