mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Hide user status tabs when there are none
This commit is contained in:
parent
b4c155f134
commit
0d7ffbc175
1 changed files with 2 additions and 0 deletions
|
@ -249,6 +249,7 @@
|
|||
|
||||
<div class="block" id="reviews">
|
||||
{% if request.user.is_authenticated %}
|
||||
{% if user_statuses.review_count or user_statuses.comment_count or user_stuatses.quotation_count %}
|
||||
<nav class="tabs">
|
||||
<ul>
|
||||
{% url 'book' book.id as tab_url %}
|
||||
|
@ -276,6 +277,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% for review in statuses %}
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue