2020-02-21 19:03:05 -05:00
|
|
|
{% extends 'layout.html' %}
|
2020-10-30 17:01:43 -04:00
|
|
|
{% load fr_display %}
|
2020-02-21 19:03:05 -05:00
|
|
|
{% block content %}
|
2020-10-30 17:01:43 -04:00
|
|
|
{% include 'user_header.html' with user=user %}
|
2020-02-21 19:03:05 -05:00
|
|
|
|
2020-09-29 22:48:10 -04:00
|
|
|
<div class="block">
|
2020-10-30 17:01:43 -04:00
|
|
|
<div class="tabs">
|
2020-09-29 22:48:10 -04:00
|
|
|
<ul>
|
2020-10-30 17:01:43 -04: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-29 22:48:10 -04:00
|
|
|
</ul>
|
2020-10-30 17:01:43 -04:00
|
|
|
</div>
|
2020-09-29 22:48:10 -04:00
|
|
|
</div>
|
|
|
|
|
2020-09-29 17:11:55 -04:00
|
|
|
<div class="block">
|
2020-02-21 19:03:05 -05:00
|
|
|
<div>
|
|
|
|
{% include 'snippets/shelf.html' with shelf=shelf ratings=ratings %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|