fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Fixed volume badges showing even if the user is not logged in

This commit is contained in:
Felipe Martín 2014-11-11 09:03:49 +01:00
parent 5b33eef32e
commit cc2a5eb2b4
1 changed files with 2 additions and 0 deletions

View File

@ -8,9 +8,11 @@
<div>
<div class="well text-center volume-item volume-{{ type }}" style="background: white url({{ volume_thumb.url }}) center left no-repeat;">
{% if request.user.is_authenticated %}
<div data-pjax-container="v{{ volume.pk }}">
{% include "manga/series/includes/volume-badges.html" %}
</div>
{% endif %}
<div class="text-center volume-content">
{% if type == 'slim' %}
<a href="{{ volume.series.get_absolute_url }}" data-pjax>