Skip to content

Commit

Permalink
use # for link to same page in breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
RabiaSajjad committed Sep 3, 2024
1 parent b51e049 commit f8567f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/canada/templates/package/resource_edit_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ super.super() }}
{% if res %}
<li>{% link_for h.get_translated(res, 'name'), named_route=pkg.type ~ '_resource.read', id=pkg.name, resource_id=res.id %}</li>
<li {% block breadcrumb_edit_selected %} class="active"{% endblock %}><a href="">{{ _('Edit') }}</a></li>
<li {% block breadcrumb_edit_selected %} class="active"{% endblock %}><a href="#">{{ _('Edit') }}</a></li>
{% endif %}
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion ckanext/canada/templates/package/resource_read.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

{% block breadcrumb_content %}
{{ super.super() }}
<li class="active"><a href="" title="{{ h.resource_display_name(res) }}">{{ h.resource_display_name(res)|truncate(80) }}</a></li>
<li class="active"><a href="#" title="{{ h.resource_display_name(res) }}">{{ h.resource_display_name(res)|truncate(80) }}</a></li>
{% endblock %}

{% block resource_actions %}
Expand Down

0 comments on commit f8567f5

Please sign in to comment.