From 3f8b66058afcbb545d94eebd88ca38a71e595bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Marti=CC=81n?= Date: Tue, 11 Nov 2014 15:04:45 +0100 Subject: [PATCH] Added attribute to show series name in volume box --- .../bootflat/templates/manga/series/includes/volume.html | 3 +++ .../themes/bootflat/templates/users/profile/collection.html | 2 +- .../themes/bootflat/templates/users/profile/wishlist.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html b/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html index 5918243..05c59fc 100644 --- a/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html +++ b/shelfzilla/themes/bootflat/templates/manga/series/includes/volume.html @@ -14,6 +14,9 @@ {% endif %}
+ {% if show_name %} +
{{ volume.series.name }}
+ {% endif %} {% if type == 'slim' %}

{{ volume }}

diff --git a/shelfzilla/themes/bootflat/templates/users/profile/collection.html b/shelfzilla/themes/bootflat/templates/users/profile/collection.html index ad4c985..80515ae 100644 --- a/shelfzilla/themes/bootflat/templates/users/profile/collection.html +++ b/shelfzilla/themes/bootflat/templates/users/profile/collection.html @@ -7,7 +7,7 @@
{% for owned_volume in item.have_volumes.all %}
- {% 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 %}
{% if forloop.counter|divisibleby:3 %}
diff --git a/shelfzilla/themes/bootflat/templates/users/profile/wishlist.html b/shelfzilla/themes/bootflat/templates/users/profile/wishlist.html index bea8456..a5df0c0 100644 --- a/shelfzilla/themes/bootflat/templates/users/profile/wishlist.html +++ b/shelfzilla/themes/bootflat/templates/users/profile/wishlist.html @@ -7,7 +7,7 @@
{% for wishlisted_volume in item.wishlisted_volumes.all %}
- {% 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 %}
{% if forloop.counter|divisibleby:3 %}