2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-definition">
|
2016-05-05 01:58:12 +00:00
|
|
|
{{id}}
|
|
|
|
|
2016-05-04 05:18:03 +00:00
|
|
|
{{#with options}}
|
2016-05-05 01:58:12 +00:00
|
|
|
{{#if enableAnkiConnect}}
|
2016-05-05 02:10:28 +00:00
|
|
|
<div class="action-bar">
|
2016-05-05 01:58:12 +00:00
|
|
|
{{#with ../addable}}
|
2016-05-05 02:10:28 +00:00
|
|
|
<a href="#" title="Add as expression" class="{{#unless vocabExp}}disabled{{/unless}}"><img src="{{../../root}}/img/add_expression.png"></a>
|
|
|
|
<a href="#" title="Add as reading" class="{{#unless vocabExp}}disabled{{/unless}}"><img src="{{../../root}}/img/add_reading.png"></a>
|
2016-05-05 01:58:12 +00:00
|
|
|
{{/with}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2016-05-04 05:18:03 +00:00
|
|
|
{{/with}}
|
2016-05-04 03:25:35 +00:00
|
|
|
|
2016-04-25 02:23:13 +00:00
|
|
|
{{#if reading}}
|
2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-expression"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
|
2016-04-25 02:23:13 +00:00
|
|
|
{{else}}
|
2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
|
2016-04-25 02:23:13 +00:00
|
|
|
{{/if}}
|
2016-04-14 03:13:41 +00:00
|
|
|
|
2016-04-25 02:23:13 +00:00
|
|
|
{{#if rules}}
|
2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-rules">
|
2016-04-25 02:23:13 +00:00
|
|
|
{{#each rules}}
|
|
|
|
<span class="rule">{{.}}</span> {{#unless @last}}«{{/unless}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2016-04-16 18:41:33 +00:00
|
|
|
|
2016-04-25 02:23:13 +00:00
|
|
|
{{#if tags}}
|
2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-tags">
|
2016-04-25 02:23:13 +00:00
|
|
|
{{#each tags}}
|
|
|
|
<span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span>
|
2016-04-14 01:55:31 +00:00
|
|
|
{{/each}}
|
2016-04-25 02:23:13 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2016-04-29 03:36:55 +00:00
|
|
|
<div class="term-glossary">
|
2016-04-25 02:23:13 +00:00
|
|
|
<ol>
|
|
|
|
{{#each glossary}}
|
|
|
|
<li><span>{{.}}</span></li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
</div>
|
2016-04-14 01:55:31 +00:00
|
|
|
</div>
|