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
|
|
|
|
2020-09-30 02:48:10 +00:00
|
|
|
<div class="block">
|
2020-10-30 21:01:43 +00:00
|
|
|
<div class="tabs">
|
2020-09-30 02:48:10 +00:00
|
|
|
<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 %}
|
2020-09-30 02:48:10 +00:00
|
|
|
</ul>
|
2020-10-30 21:01:43 +00:00
|
|
|
</div>
|
2020-09-30 02:48:10 +00:00
|
|
|
</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 %}
|