43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
<div class="kanji-definition">
|
|
<div class="action-icons">
|
|
{{#with addable}}
|
|
{{#if kanji}}<a href="#" title="Add Kanji"><img src="{{../root}}/img/icon_add_expression.png"></a>{{/if}}
|
|
{{/with}}
|
|
<a href="#" title="Copy definition"><img src="{{root}}/img/icon_copy_definition.png"></a>
|
|
</div>
|
|
|
|
<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>
|