mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Adds breadcrumbs to shelf page
weird that they aren't used anywhere else tho
This commit is contained in:
parent
cc58d0321d
commit
c236be4303
1 changed files with 11 additions and 1 deletions
|
@ -1,9 +1,19 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
|
||||
<div class="block">
|
||||
<nav class="breadcrumb has-succeeds-separator" aria-label="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="/user/{{ user.username }}">{% include 'snippets/username.html' with user=user %}</a></li>
|
||||
<li><a href="/user/{{ user.username }}/shelves">Shelves</a></li>
|
||||
<li class="is-active"><a href="#" aria-current="page">{{ shelf.name }}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
<div>
|
||||
<h2 class="title">{% include 'snippets/username.html' with user=user %} > {{ shelf.name }}</h2>
|
||||
<h2 class="title">{{ shelf.name }}</h2>
|
||||
{% include 'snippets/shelf.html' with shelf=shelf ratings=ratings %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue