Skip to content

Commit 7da7813

Browse files
committed
Set the href to current path for active breadcrumbs item #981
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent 95f47cb commit 7da7813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scanpipe/templates/scanpipe/includes/breadcrumb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<li><a href="{{ project.get_absolute_url }}" class="has-text-grey">{{ project.name }}</a></li>
99
{% endif %}
1010
{% if current %}
11-
<li class="is-active"><a href="#" aria-current="page">{{ current }}</a></li>
11+
<li><a href="{{ request.path }}" class="has-text-dark has-text-weight-semibold" aria-current="page">{{ current }}</a></li>
1212
{% else %}
1313
<li class="is-active"><a href="#" aria-current="page">{{ project.name }}</a></li>
1414
{% endif %}

0 commit comments

Comments
 (0)