From 9236bc301d75eb7a0f8eeb5efbc72620de21ca0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 21 Aug 2013 15:42:46 +0200 Subject: [PATCH] Simplify the template a little. --- templates/default/bookdetail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/default/bookdetail.html b/templates/default/bookdetail.html index f082eb6..fd54642 100644 --- a/templates/default/bookdetail.html +++ b/templates/default/bookdetail.html @@ -18,15 +18,15 @@

{{=htmlEscape (it.title)}}

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

- {{~it.book.authors:author:j}} - {{? j > 0}}, {{?}}{{=htmlEscape (author.name)}} + {{~it.book.authors:author:i}} + {{? i > 0}}, {{?}}{{=htmlEscape (author.name)}} {{~}}

{{? it.book.tagsName != ""}}

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

- {{~it.book.tags:tag:k}} - {{? k > 0}}, {{?}}{{=htmlEscape (tag.name)}} + {{~it.book.tags:tag:i}} + {{? i > 0}}, {{?}}{{=htmlEscape (tag.name)}} {{~}}

{{?}}