Skip to content

Commit 127a01d

Browse files
authored
feat: remove deprecated ifequal templatetag (#597)
1 parent 1021a09 commit 127a01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view_breadcrumbs/templates/view_breadcrumbs/bootstrap3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ul class="breadcrumb">
22
{% for url, label in breadcrumbs %}
3-
<li{% ifequal forloop.counter breadcrumbs_total %} class="active"{% endifequal %}>
3+
<li{% if forloop.counter == breadcrumbs_total %} class="active"{% endif %}>
44
{% if url and forloop.counter != breadcrumbs_total %}
55
<a href="{{ url }}">{{ label|safe }}</a>
66
{% else %}

0 commit comments

Comments
 (0)