2016-04-28 20:36:55 -07:00
< div class = "term-definition" >
2016-05-03 22:18:03 -07:00
{{#with options}}
2016-06-14 09:05:40 -07:00
< div class = "action-bar" data-sequence = "{{../sequence}}" >
2016-07-15 23:29:36 -07:00
{{#if enableAudioPlayback}}
2016-07-18 08:08:31 -07:00
< a href = "#" title = "Play audio" class = "action-play-audio" data-index = "{{@index}}" > < img src = "{{../root}}/img/play_audio.png" > < / a >
2016-07-15 23:29:36 -07:00
{{/if}}
2016-06-13 22:09:39 -07:00
{{#if enableAnkiConnect}}
2016-06-14 09:05:40 -07:00
< a href = "#" title = "Add term as expression" class = "action-add-note disabled" data-mode = "vocab_kanji" data-index = "{{@index}}" > < img src = "{{../root}}/img/add_vocab_kanji.png" > < / a >
< a href = "#" title = "Add term as reading" class = "action-add-note disabled" data-mode = "vocab_kana" data-index = "{{@index}}" > < img src = "{{../root}}/img/add_vocab_kana.png" > < / a >
2016-06-13 22:09:39 -07:00
{{/if}}
2016-05-04 18:58:12 -07:00
< / div >
2016-05-03 22:18:03 -07:00
{{/with}}
2016-05-03 20:25:35 -07:00
2016-04-24 19:23:13 -07:00
{{#if reading}}
2016-04-28 20:36:55 -07:00
< div class = "term-expression" > < ruby > {{#kanjiLinks}}{{expression}}{{/kanjiLinks}}< rt > {{reading}}< / rt > < / ruby > < / div >
2016-04-24 19:23:13 -07:00
{{else}}
2016-04-28 20:36:55 -07:00
< div class = "term-expression" > {{#kanjiLinks}}{{expression}}{{/kanjiLinks}}< / div >
2016-04-24 19:23:13 -07:00
{{/if}}
2016-04-13 20:13:41 -07:00
2016-04-24 19:23:13 -07:00
{{#if rules}}
2016-04-28 20:36:55 -07:00
< div class = "term-rules" >
2016-04-24 19:23:13 -07:00
{{#each rules}}
< span class = "rule" > {{.}}< / span > {{#unless @last}}« {{/unless}}
{{/each}}
< / div >
{{/if}}
2016-04-16 11:41:33 -07:00
2016-04-24 19:23:13 -07:00
{{#if tags}}
2016-04-28 20:36:55 -07:00
< div class = "term-tags" >
2016-04-24 19:23:13 -07:00
{{#each tags}}
< span class = "tag tag-{{class}}" title = "{{desc}}" > {{name}}< / span >
2016-04-13 18:55:31 -07:00
{{/each}}
2016-04-24 19:23:13 -07:00
< / div >
{{/if}}
2016-04-28 20:36:55 -07:00
< div class = "term-glossary" >
2016-04-24 19:23:13 -07:00
< ol >
{{#each glossary}}
< li > < span > {{.}}< / span > < / li >
{{/each}}
< / ol >
< / div >
2016-04-13 18:55:31 -07:00
< / div >