diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-08 18:39:59 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-08 18:39:59 -0800 |
commit | 67ca7adc4cabb79a87b51ebd9b112e641de31af9 (patch) | |
tree | 652ea04970a25f2f479cf71cbf9e9dbeedf794af /tmpl/term.html | |
parent | 53a8e9061c482400186c8b041be520a519795c07 (diff) |
WIP
Diffstat (limited to 'tmpl/term.html')
-rw-r--r-- | tmpl/term.html | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/tmpl/term.html b/tmpl/term.html index a6ae2d26..59ac80df 100644 --- a/tmpl/term.html +++ b/tmpl/term.html @@ -15,27 +15,15 @@ <div class="term-expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div> {{/if}} + {{#if reasons}} <div class="term-reasons"> {{#each reasons}} <span class="reasons">{{.}}</span> {{#unless @last}}«{{/unless}} {{/each}} </div> - - <div class="term-tags"> - {{#each tags}} - <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span> - {{/each}} - </div> + {{/if}} <div class="term-glossary"> - {{#if glossary.[1]}} - <ol> - {{#each glossary}} - <li><span class="term-glossary-item">{{.}}</span></li> - {{/each}} - </ol> - {{else}} - <p>{{glossary.[0]}}</p> - {{/if}} + {{> term-definition.html}} </div> </div> |