diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-10 00:56:47 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-10 00:56:47 +0300 |
commit | 9f277b6a20867c65b80378ee8008d4f55974bfdf (patch) | |
tree | 2967595b3fcff8a3bdc9fb778a7096f69e51abf5 /tmpl/terms.html | |
parent | 84420e00bfe025c93ed6ef77f81634687ff64764 (diff) |
merged mode: support frequencies
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r-- | tmpl/terms.html | 12 |
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> |