fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Updated volume list layout

This commit is contained in:
Felipe Martin 2014-04-25 16:56:57 +02:00
parent acd21a1e65
commit 39258be7da
2 changed files with 5 additions and 2 deletions

View File

@ -102,10 +102,10 @@
{% endif %}
<div class="row">
{% for volume in item.volumes_by_publisher.all %}
<div class="col-sm-2" data-pjax-container="v{{ volume.pk }}">
<div class="col-sm-3" data-pjax-container="v{{ volume.pk }}">
{% include "manga/series/includes/volume.html" with volume=volume user=user %}
</div>
{% if forloop.counter|divisibleby:6 %}
{% if forloop.counter|divisibleby:4 %}
</div>
<div class="row">
{% endif %}

View File

@ -30,6 +30,9 @@
{% if volume.name %}
<div><strong>{{ volume.name }}</strong></div>
{% endif %}
{% if volume.release_date %}
<div>{{ volume.release_date|date:"F Y" }}</div>
{% endif %}
</div>
<img src="{% thumbnail volume.cover 150x150 %}" class="volume-cover max-width-80" />
</div>