From 784a39e957a87d9377a844f07fe69030a2330023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Mon, 29 Jul 2013 14:19:20 +0200 Subject: [PATCH] Add again the series Index in the book list. Reported by fatzgenfatz --- book.php | 1 + templates/default/main.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/book.php b/book.php index faa250f..1b5b79a 100644 --- a/book.php +++ b/book.php @@ -135,6 +135,7 @@ class Book extends Base { "authorsName" => $this->getAuthorsName (), "tagsName" => $this->getTagsName (), "seriesName" => $sn, + "seriesIndex" => $this->seriesIndex, "seriesCompleteName" => $scn, "seriesurl" => $su); diff --git a/templates/default/main.html b/templates/default/main.html index 5bbaea1..52981c2 100644 --- a/templates/default/main.html +++ b/templates/default/main.html @@ -38,7 +38,7 @@

{{=it.const.i18n.authorsTitle}} :

{{=htmlEscape (entry.book.authorsName)}}
{{? entry.book.tagsName != ""}}

{{=it.const.i18n.tagsTitle}} :

{{=htmlEscape (entry.book.tagsName)}}
{{?}} - {{? entry.book.seriesName != ""}}

{{=it.const.i18n.seriesTitle}} :

{{=htmlEscape (entry.book.seriesName)}}
{{?}} + {{? entry.book.seriesName != ""}}

{{=it.const.i18n.seriesTitle}} :

{{=htmlEscape (entry.book.seriesName)}} ({{=entry.book.seriesIndex}})
{{?}} {{?}}