From 5e1cae2fd8c0f5d3197a5069617eea7f69365028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 16 Jun 2013 08:05:07 +0200 Subject: [PATCH] Ugly way of handling book detail without fancybox. re #73 --- templates/default/frontpage.html | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/templates/default/frontpage.html b/templates/default/frontpage.html index c28c255..6891ebe 100644 --- a/templates/default/frontpage.html +++ b/templates/default/frontpage.html @@ -25,6 +25,57 @@
+{{? it.page == 13}} +
+ + {{? it.book.hasCover == 1}} + + {{=it.i18n.coverAlt}} + + {{?}} + +

+ {{~it.book.datas:data:i}} + {{=data.format}}
+ {{~}} +

+

{{=it.i18n.permalinkAlt}}{{=htmlEscape (it.title)}}

+

+

{{=it.i18n.authorsTitle}}:

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

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

+

{{=it.i18n.tagsTitle}}:

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

+ {{?}} + {{? it.book.seriesName != ""}} +

+

{{=it.i18n.seriesTitle}} :

{{=htmlEscape (it.book.seriesCompleteName)}} +

+ {{?}} + {{? it.book.pubDate != ""}} +

+

{{=it.i18n.pubdateTitle}}:

{{=it.book.pubDate}} +

+ {{?}} + {{? it.book.languagesName != ""}} +

+

{{=it.i18n.languagesTitle}}:

{{=it.book.languagesName}} +

+ {{?}} + {{? it.book.content != ""}} +
+

{{=it.i18n.contentTitle}}

+
{{=it.book.content}}
+ {{?}} +
+{{??}} {{~it.entries:entry:i}} {{? it.containsBook == 0}}
@@ -60,6 +111,7 @@
{{?}} {{~}} +{{?}}