aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/terms.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index b1f080a2..cc0f600e 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -48,14 +48,22 @@
<span class="expression-{{jmdictTermFrequency}}">{{#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><br>
+ <a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.png" title="Play audio" alt></a>
{{/if}}
{{~#if tags~}}
+ <div class="tags">
{{~#each tags~}}
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
{{/each}}
+ </div>
+ {{/if}}
+ {{~#if frequencies~}}
+ <div class="frequencies">
+ {{~#each frequencies~}}
+ <span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
+ {{/each}}
+ </div>
{{/if}}<!--
- --><span style="display: inline-block;"></span><!--
--></div><!--
--><span class="{{#if @last}}invisible{{/if}}">、</span><!--
--></div>