Updated volume list layout
This commit is contained in:
parent
acd21a1e65
commit
39258be7da
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue