Skip to content

Commit

Permalink
✨ add home to breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 committed Feb 9, 2024
1 parent 2459ab8 commit d7bfd23
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions froide/account/templates/account/includes/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{% load i18n %}
<nav class="container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'account-show' %}">{% translate "Account" %}</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions froide/foirequest/templates/foirequest/header/breadcrumb.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{% load i18n %}
<nav class="container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
{% if object.user == request.user %}
<a href="{% url 'account-show' %}">{% trans "My requests" %}</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<div class="container">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'organization-list' %}">{% trans "Organizations" %}</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<div class="bg-body-tertiary">
<nav class="container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'organization-list' %}">{% trans "Organizations" %}</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<div class="bg-body-tertiary">
<nav class="container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'organization-list' %}">{% trans "Organizations" %}</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<div class="bg-body-tertiary">
<nav class="container" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">
<i class="fa fa-home"></i>
<span class="sr-only">{% trans "Home Page" %}</span>
</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'organization-list' %}">{% trans "Organizations" %}</a>
</li>
Expand Down

0 comments on commit d7bfd23

Please sign in to comment.