From 87fc0807ec5aa7aa5c8a93b744bcf0daa75e2609 Mon Sep 17 00:00:00 2001
From: John Martin {{ _('There is no description for this group') }} {{ h.markdown_extract(group.description, extract_length=80) }} {{ _('This group has no description') }}{% block page_heading %}{{ c.group_dict.display_name }}{% endblock %}
{% block group_description %}
{% if c.group_dict.description %}
{{ h.render_markdown(c.group_dict.description) }}
- {% else %}
- {{ group.display_name }}
{% block description %}
{% if group.description %}
{{ group.display_name }}
{{ h.markdown_extract(group.description, 180) }}
{% link_for _('read more'), controller='group', action='about', id=group.name %}
{{ _('There is no description for this group') }}
{% endif %} {% if show_nums %}{{ _('There is no description for this organization') }}
{% endif %} {% endblock %} {% block organization_extras %} diff --git a/ckan/templates/organization/bulk_process.html b/ckan/templates/organization/bulk_process.html index 13c2001e45c..d4e4fa54bd1 100644 --- a/ckan/templates/organization/bulk_process.html +++ b/ckan/templates/organization/bulk_process.html @@ -77,8 +77,6 @@{{ notes|urlize }}
- {% else %} -{{ _("This dataset has no description") }}
{% endif %} diff --git a/ckan/templates/organization/snippets/organization_item.html b/ckan/templates/organization/snippets/organization_item.html index 5d774cb7f39..1d7ca32e308 100644 --- a/ckan/templates/organization/snippets/organization_item.html +++ b/ckan/templates/organization/snippets/organization_item.html @@ -22,8 +22,6 @@{{ h.markdown_extract(organization.description, extract_length=80) }}
- {% else %} -{{ _('This organization has no description') }}
{% endif %} {% endblock %} {% block datasets %} diff --git a/ckan/templates/package/resource_read.html b/ckan/templates/package/resource_read.html index dee83c32e0d..2eca1e62fbc 100644 --- a/ckan/templates/package/resource_read.html +++ b/ckan/templates/package/resource_read.html @@ -61,8 +61,6 @@{{ _('There is no description for this resource') }}
{% endif %} {% if not res.description and c.package.notes %}{{ _('There is no description for this dataset') }}
{% endif %}{% if res.description %} {{ h.markdown_extract(res.description, extract_length=80) }} - {% else %} - {{ _('No description for this resource') }} {% endif %}
{% block resource_item_explore %} diff --git a/ckan/templates/related/snippets/related_item.html b/ckan/templates/related/snippets/related_item.html index df1c1300025..2053f7c0406 100644 --- a/ckan/templates/related/snippets/related_item.html +++ b/ckan/templates/related/snippets/related_item.html @@ -19,8 +19,6 @@{{ _('This item has no description') }}
{% endif %} {{ tooltip }} diff --git a/ckan/templates/snippets/group.html b/ckan/templates/snippets/group.html index db758d9bc96..df0d44ca031 100644 --- a/ckan/templates/snippets/group.html +++ b/ckan/templates/snippets/group.html @@ -20,8 +20,6 @@{{ h.markdown_extract(group.description, truncate) }}
- {% else %} -{{ _('There is no description for this group') }}
{% endif %}{{ _('There is no description for this group') }}
{% endif %} {% set list_class = "unstyled dataset-list" %} diff --git a/ckan/templates/snippets/organization_item.html b/ckan/templates/snippets/organization_item.html index 06579756f32..2b066464b77 100644 --- a/ckan/templates/snippets/organization_item.html +++ b/ckan/templates/snippets/organization_item.html @@ -12,8 +12,6 @@{{ h.markdown_extract(organization.description, truncate)|urlize }}
{% endif %} - {% else %} -{{ _('There is no description for this organization') }}
{% endif %} {% set list_class = "unstyled dataset-list" %} diff --git a/ckan/templates/snippets/package_item.html b/ckan/templates/snippets/package_item.html index b6ae1b95168..42bb4fc0244 100644 --- a/ckan/templates/snippets/package_item.html +++ b/ckan/templates/snippets/package_item.html @@ -41,8 +41,6 @@{{ _("This dataset has no description") }}
{% endif %}