42 lines
1.0 KiB
HTML
42 lines
1.0 KiB
HTML
<div class="kanji-definition">
|
|
{{#with options}}
|
|
{{#if enableAnkiConnect}}
|
|
<a href="#" title="Add Kanji" class="action-link disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/add_kanji.png"></a>
|
|
{{/if}}
|
|
{{/with}}
|
|
|
|
<div class="kanji-glyph">{{character}}</div>
|
|
|
|
<div class="kanji-info">
|
|
<dl>
|
|
{{#if glossary}}
|
|
<dt>Meanings</dt>
|
|
<dd>
|
|
{{#each glossary}}
|
|
{{.}}{{#unless @last}}, {{/unless}}
|
|
{{/each}}
|
|
</dd>
|
|
{{/if}}
|
|
|
|
{{#if kunyomi}}
|
|
<dt>Kunyomi</dt>
|
|
<dd>
|
|
{{#each kunyomi}}
|
|
{{.}}{{#unless @last}}, {{/unless}}
|
|
{{/each}}
|
|
</dd>
|
|
{{/if}}
|
|
|
|
{{#if onyomi}}
|
|
<dt>Onyomi</dt>
|
|
<dd>
|
|
{{#each onyomi}}
|
|
{{.}}{{#unless @last}}, {{/unless}}
|
|
{{/each}}
|
|
</dd>
|
|
{{/if}}
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|