aboutsummaryrefslogtreecommitdiff
path: root/tmpl/terms.html
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:50:33 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-24 23:50:33 +0300
commitf828043838b52f8304f1a4b226b904d68f19b643 (patch)
tree5eed1e3e272fb7035347aa3e02e287a41ea8ac60 /tmpl/terms.html
parent9697c9a65b5b698d5c6ca11befd843c89aca3c9e (diff)
terms.html: fix whitespace issues in merged mode
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r--tmpl/terms.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index 09441e72..eb114b5f 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -43,31 +43,31 @@
</div>
{{#if merged}}
- {{#each expressions}}
- <div class="expression">
- <span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span><!--
+ {{~#each expressions~}}
+ <div class="expression"><!--
+ --><span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span><!--
--><div class="peek-wrapper">
{{~#if ../playback~}}
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.png" title="Play audio" alt></a>
- {{/if}}
+ {{~/if~}}
{{~#if termTags~}}
<div class="tags">
{{~#each termTags~}}
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
- {{/each}}
+ {{~/each~}}
</div>
- {{/if}}
+ {{~/if~}}
{{~#if frequencies~}}
<div class="frequencies">
{{~#each frequencies~}}
<span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
- {{/each}}
+ {{~/each~}}
</div>
- {{/if}}<!--
- --></div><!--
+ {{~/if~}}
+ </div><!--
--><span class="{{#if @last}}invisible{{/if}}">、</span><!--
--></div>
- {{/each}}
+ {{~/each~}}
{{else}}
<div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>
{{#if termTags}}