moviewyrm/bookwyrm/templates/shelf.html

24 lines
622 B
HTML
Raw Normal View History

2020-02-22 00:03:05 +00:00
{% extends 'layout.html' %}
2020-10-30 21:01:43 +00:00
{% load fr_display %}
2020-02-22 00:03:05 +00:00
{% block content %}
2020-10-30 21:01:43 +00:00
{% include 'user_header.html' with user=user %}
2020-02-22 00:03:05 +00:00
<div class="block">
2020-10-30 21:01:43 +00:00
<div class="tabs">
<ul>
2020-10-30 21:01:43 +00:00
{% for shelf_tab in shelves %}
<li class="{% if shelf_tab.identifier == shelf.identifier %}is-active{% endif %}">
<a href="/user/{{ user | username }}/shelf/{{ shelf_tab.identifier }}">{{ shelf_tab.name }}</a>
</li>
{% endfor %}
</ul>
2020-10-30 21:01:43 +00:00
</div>
</div>
2020-09-29 21:11:55 +00:00
<div class="block">
2020-02-22 00:03:05 +00:00
<div>
{% include 'snippets/shelf.html' with shelf=shelf ratings=ratings %}
</div>
</div>
{% endblock %}