diff --git a/ckan/templates/package/base.html b/ckan/templates/package/base.html index ad137bdb49b..8ea75b53711 100644 --- a/ckan/templates/package/base.html +++ b/ckan/templates/package/base.html @@ -12,8 +12,8 @@ {% if pkg.organization %} {% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %} {% set group_type = pkg.organization.type %} -
  • {% link_for _('Organizations'), controller='organization', action='index', named_route=group_type + '_index' %}
  • -
  • {% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name, named_route=group_type + '_read' %}
  • +
  • {% link_for _('Organizations'), controller='organization', action='index' %}
  • +
  • {% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name %}
  • {% else %}
  • {% link_for _('Datasets'), named_route='dataset.search' %}
  • {% endif %}