Skip to content
Snippets Groups Projects
Commit 77d171a5 authored by Benjamin Becker's avatar Benjamin Becker
Browse files

fixes 2.4.5a (title for links in breadcrumbs)

parent 1c027c9e
No related branches found
No related tags found
No related merge requests found
...@@ -14,12 +14,19 @@ ...@@ -14,12 +14,19 @@
{% set dataset = h.dataset_display_name(pkg) %} {% set dataset = h.dataset_display_name(pkg) %}
{% if pkg.organization %} {% if pkg.organization %}
{% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %} {% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %}
<li>{% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name %}</li> <li>
<a href={% url_for controller='organization', action='read', id=pkg.organization.name %} title={{ organization }}>
{{ organization|truncate(30) }}
</a>
</li>
{% else %} {% else %}
<li>{% link_for _('Documents'), controller='package', action='search' %}</li> <li>{% link_for _('Documents'), controller='package', action='search' %}</li>
{% endif %} {% endif %}
<li {{ self.breadcrumb_content_selected() }}>{% link_for dataset|truncate(30), controller='package', action='read', <li>
id=pkg.name %}</li> <a href={% url_for controller='package', action='read', id=pkg.name %} title={{ dataset }}>
{{ dataset|truncate(30) }}
</a>
</li>
{% else %} {% else %}
<li>{% link_for _('Documents'), controller='package', action='search' %}</li> <li>{% link_for _('Documents'), controller='package', action='search' %}</li>
<li class="active"><a href="">{{ _('Create Dataset') }}</a></li> <li class="active"><a href="">{{ _('Create Dataset') }}</a></li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment