2016-04-29 03:36:55 +00:00
< div class = "term-definition" >
2017-01-07 20:21:47 +00:00
< div class = "action-bar" >
2017-01-04 06:17:53 +00:00
{{#if addable}}
2017-01-07 20:21:47 +00:00
< a href = "#" title = "Add term as expression" class = "action-add-note pending disabled" data-mode = "term_kanji" data-index = "{{@index}}" > < img src = "img/add_term_kanji.png" > < / a >
< a href = "#" title = "Add term as reading" class = "action-add-note pending disabled" data-mode = "term_kana" data-index = "{{@index}}" > < img src = "img/add_term_kana.png" > < / a >
2017-01-04 06:17:53 +00:00
{{/if}}
2017-01-07 20:21:47 +00:00
{{#if playback}}
< a href = "#" title = "Play audio" class = "action-play-audio" data-index = "{{@index}}" > < img src = "img/play_audio.png" > < / a >
2016-07-16 06:29:36 +00:00
{{/if}}
2016-05-05 01:58:12 +00:00
< / div >
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-12-19 06:24:34 +00:00
< div class = "term-reasons" >
{{#each reasons}}
< span class = "reasons" > {{.}}< / span > {{#unless @last}}« {{/unless}}
2016-04-25 02:23:13 +00:00
{{/each}}
< / div >
2016-04-16 18:41:33 +00:00
2016-04-29 03:36:55 +00:00
< div class = "term-tags" >
2016-04-25 02:23:13 +00:00
{{#each tags}}
2016-12-18 03:30:26 +00:00
< span class = "tag tag-{{category}}" title = "{{notes}}" > {{name}}< / span >
2016-04-14 01:55:31 +00:00
{{/each}}
2016-04-25 02:23:13 +00:00
< / div >
2016-04-29 03:36:55 +00:00
< div class = "term-glossary" >
2016-12-18 20:24:07 +00:00
{{#if glossary.[1]}}
2016-04-25 02:23:13 +00:00
< ol >
{{#each glossary}}
< li > < span > {{.}}< / span > < / li >
{{/each}}
< / ol >
2016-12-18 20:24:07 +00:00
{{else}}
2016-12-22 03:47:50 +00:00
< p > {{glossary.[0]}}< / p >
2016-12-18 20:24:07 +00:00
{{/if}}
2016-04-25 02:23:13 +00:00
< / div >
2016-04-14 01:55:31 +00:00
< / div >