Ugly way of handling book detail without fancybox. re #73
This commit is contained in:
parent
c8595a567b
commit
5e1cae2fd8
|
@ -25,6 +25,57 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
{{? it.page == 13}}
|
||||
<article class="bookpopup">
|
||||
<span class="cover">
|
||||
{{? it.book.hasCover == 1}}
|
||||
<a href="{{=it.book.coverurl}}">
|
||||
<img src="{{=it.book.thumbnailurl}}" alt="{{=it.i18n.coverAlt}}" />
|
||||
</a>
|
||||
{{?}}
|
||||
</span>
|
||||
<h2 class="download">
|
||||
{{~it.book.datas:data:i}}
|
||||
<a href="{{=data.url}}">{{=data.format}}</a><br />
|
||||
{{~}}
|
||||
</h2>
|
||||
<h1><a rel="bookmark" href="{{=it.book.detailurl}}"><img src="images/Link.png?v={{=it.version}}" alt="{{=it.i18n.permalinkAlt}}" /></a>{{=htmlEscape (it.title)}}</h1>
|
||||
<p class="popupless">
|
||||
<h3>{{=it.i18n.authorsTitle}}: </h3>
|
||||
{{~it.book.authors:author:j}}
|
||||
{{? j > 0}}, {{?}}<a href="{{=author.url}}">{{=htmlEscape (author.name)}}</a>
|
||||
{{~}}
|
||||
</p>
|
||||
{{? it.book.tagsName != ""}}
|
||||
<p class="popupless">
|
||||
<h3>{{=it.i18n.tagsTitle}}: </h3>
|
||||
{{~it.book.tags:tag:k}}
|
||||
{{? k > 0}}, {{?}}<a href="{{=tag.url}}">{{=htmlEscape (tag.name)}}</a>
|
||||
{{~}}
|
||||
</p>
|
||||
{{?}}
|
||||
{{? it.book.seriesName != ""}}
|
||||
<p class="popupless">
|
||||
<h3><a href="{{=it.book.seriesurl}}">{{=it.i18n.seriesTitle}}</a> : </h3>{{=htmlEscape (it.book.seriesCompleteName)}}
|
||||
</p>
|
||||
{{?}}
|
||||
{{? it.book.pubDate != ""}}
|
||||
<p class="popupless">
|
||||
<h3>{{=it.i18n.pubdateTitle}}: </h3>{{=it.book.pubDate}}
|
||||
</p>
|
||||
{{?}}
|
||||
{{? it.book.languagesName != ""}}
|
||||
<p class="popupless">
|
||||
<h3>{{=it.i18n.languagesTitle}}: </h3>{{=it.book.languagesName}}
|
||||
</p>
|
||||
{{?}}
|
||||
{{? it.book.content != ""}}
|
||||
<br />
|
||||
<h4>{{=it.i18n.contentTitle}}</h4>
|
||||
<div>{{=it.book.content}}</div>
|
||||
{{?}}
|
||||
</article>
|
||||
{{??}}
|
||||
{{~it.entries:entry:i}}
|
||||
{{? it.containsBook == 0}}
|
||||
<article>
|
||||
|
@ -60,6 +111,7 @@
|
|||
</article>
|
||||
{{?}}
|
||||
{{~}}
|
||||
{{?}}
|
||||
</section>
|
||||
<footer>
|
||||
<div class="footleft">
|
||||
|
|
Loading…
Reference in a new issue