Added attribute to show series name in volume box
This commit is contained in:
parent
82e25bdc94
commit
3f8b66058a
|
@ -14,6 +14,9 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="text-center volume-content">
|
||||
{% if show_name %}
|
||||
<div><strong><a href="{{ volume.series.get_absolute_url }}">{{ volume.series.name }}</a></strong></div>
|
||||
{% endif %}
|
||||
{% if type == 'slim' %}
|
||||
<a href="{{ volume.series.get_absolute_url }}" data-pjax>
|
||||
<h4 class="media-heading">{{ volume }}</h4>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="row">
|
||||
{% for owned_volume in item.have_volumes.all %}
|
||||
<div class="col-sm-4">
|
||||
{% include "manga/series/includes/volume.html" with volume=owned_volume.volume user=item show_publisher=True %}
|
||||
{% include "manga/series/includes/volume.html" with volume=owned_volume.volume user=item show_publisher=True show_name=True %}
|
||||
</div>
|
||||
{% if forloop.counter|divisibleby:3 %}
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="row">
|
||||
{% for wishlisted_volume in item.wishlisted_volumes.all %}
|
||||
<div class="col-sm-4">
|
||||
{% include "manga/series/includes/volume.html" with volume=wishlisted_volume.volume user=item show_publisher=True %}
|
||||
{% include "manga/series/includes/volume.html" with volume=wishlisted_volume.volume user=item show_publisher=True show_name=True %}
|
||||
</div>
|
||||
{% if forloop.counter|divisibleby:3 %}
|
||||
</div>
|
||||
|
|
Reference in New Issue