Simplify the template a little.
This commit is contained in:
parent
a2384ce7cc
commit
9236bc301d
|
@ -18,15 +18,15 @@
|
||||||
<h1><a title="{{=it.const.i18n.permalinkAlt}}" rel="bookmark" href="{{=strformat (it.const.url.detailUrl, it.book.id, it.databaseId)}}"><i class="icon-link"></i></a>{{=htmlEscape (it.title)}}</h1>
|
<h1><a title="{{=it.const.i18n.permalinkAlt}}" rel="bookmark" href="{{=strformat (it.const.url.detailUrl, it.book.id, it.databaseId)}}"><i class="icon-link"></i></a>{{=htmlEscape (it.title)}}</h1>
|
||||||
<p class="popupless">
|
<p class="popupless">
|
||||||
<h3>{{=it.const.i18n.authorsTitle}}: </h3>
|
<h3>{{=it.const.i18n.authorsTitle}}: </h3>
|
||||||
{{~it.book.authors:author:j}}
|
{{~it.book.authors:author:i}}
|
||||||
{{? j > 0}}, {{?}}<a href="{{=author.url}}">{{=htmlEscape (author.name)}}</a>
|
{{? i > 0}}, {{?}}<a href="{{=author.url}}">{{=htmlEscape (author.name)}}</a>
|
||||||
{{~}}
|
{{~}}
|
||||||
</p>
|
</p>
|
||||||
{{? it.book.tagsName != ""}}
|
{{? it.book.tagsName != ""}}
|
||||||
<p class="popupless">
|
<p class="popupless">
|
||||||
<h3>{{=it.const.i18n.tagsTitle}}: </h3>
|
<h3>{{=it.const.i18n.tagsTitle}}: </h3>
|
||||||
{{~it.book.tags:tag:k}}
|
{{~it.book.tags:tag:i}}
|
||||||
{{? k > 0}}, {{?}}<a href="{{=tag.url}}">{{=htmlEscape (tag.name)}}</a>
|
{{? i > 0}}, {{?}}<a href="{{=tag.url}}">{{=htmlEscape (tag.name)}}</a>
|
||||||
{{~}}
|
{{~}}
|
||||||
</p>
|
</p>
|
||||||
{{?}}
|
{{?}}
|
||||||
|
|
Loading…
Reference in a new issue