Skip to content

Commit

Permalink
Fix urls in the breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Sep 7, 2018
1 parent 0cfd687 commit a690b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/package/base.html
Expand Up @@ -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 %}
<li>{% link_for _('Organizations'), controller='organization', action='index', named_route=group_type + '_index' %}</li>
<li>{% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name, named_route=group_type + '_read' %}</li>
<li>{% link_for _('Organizations'), controller='organization', action='index' %}</li>
<li>{% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name %}</li>
{% else %}
<li>{% link_for _('Datasets'), named_route='dataset.search' %}</li>
{% endif %}
Expand Down

0 comments on commit a690b4f

Please sign in to comment.