Skip to content

Commit

Permalink
Reformat breadcrumb that black keeps messing with
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Feb 23, 2021
1 parent d79535c commit 18e1906
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wcivf/apps/people/templates/people/person_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ <h3>Local hustings</h3>
<ol vocab="http://schema.org/" typeof="BreadcrumbList" class="breadcrumbs" aria-label="You are here:" role="navigation">
{% url 'home_view' as home_view %}
{% breadcrumb_item home_view 'Home' 1 %}
{% breadcrumb_item object.personpost.post_election.get_absolute_url 'Candidates in '|add:object.personpost.post.label
2 %}
{% breadcrumb_item object.personpost.post_election.get_absolute_url 'Candidates in '|add:object.personpost.post.label 2 %}
<li class="disabled"><span class="show-for-sr">Current: </span> {{ object.name }}</li>
</ol>
{% endif %}
Expand Down

0 comments on commit 18e1906

Please sign in to comment.