Skip to content

Commit

Permalink
feat: Localise organisation name in breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Jan 25, 2024
1 parent 6d0bacc commit 5cb2ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/switzerland/templates/organization/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block breadcrumb_content %}
<li>{% link_for h.humanize_entity_type('organization', group_type, 'breadcrumb') or _('Organizations'), named_route=group_type+'.index' %}</li>
{% block breadcrumb_content_inner %}
<li>{% link_for organization.display_name|truncate(35), named_route=group_type+'.read', id=organization.name %}</li>
<li>{% link_for h.get_localized_value(organization.title)|truncate(35), named_route=group_type+'.read', id=organization.name %}</li>
<li class="active">{% link_for _('Manage'), named_route=group_type+'.edit', id=organization.name %}</li>
{% endblock %}
{% endblock %}
Expand Down

0 comments on commit 5cb2ae3

Please sign in to comment.