Skip to content

Commit

Permalink
Merge pull request #4889 from usingsky/fix_changes_url
Browse files Browse the repository at this point in the history
 fix url of breadcrumb_content in dataset.changes page
  • Loading branch information
amercader committed Jul 2, 2019
2 parents b922e6b + 10658bc commit d9e71df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/package/changes.html
Expand Up @@ -6,8 +6,8 @@

{% block breadcrumb_content %}
{{ super() }}
<li>{% link_for _('Changes'), controller='package', action='activity', id=pkg_dict.name %}</li>
<li class="active">{% link_for activity_diff.activities[1].id|truncate(30), controller='package', action='changes', activity_id=activity_diff.activities[1].id %}</li>
<li>{% link_for _('Changes'), named_route='dataset.activity', id=pkg_dict.name %}</li>
<li class="active">{% link_for activity_diff.activities[1].id|truncate(30), named_route='dataset.changes', id=activity_diff.activities[1].id %}</li>
{% endblock %}

{% block primary %}
Expand Down

0 comments on commit d9e71df

Please sign in to comment.