2017-01-09 06:44:13 +00:00
|
|
|
{{#*inline "definition"}}
|
2017-10-12 23:40:20 +00:00
|
|
|
{{#if definitionTags}}
|
2017-10-24 20:30:55 +00:00
|
|
|
<div {{#if compactGlossaries}}class="compact-info"{{/if}}>
|
2017-10-12 23:40:20 +00:00
|
|
|
{{#each definitionTags}}
|
2017-10-12 06:59:09 +00:00
|
|
|
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-10-03 04:20:02 +00:00
|
|
|
{{#if only}}
|
2017-10-24 20:30:55 +00:00
|
|
|
<div {{#if compactGlossaries}}class="compact-info"{{/if}}>
|
2017-10-03 04:20:02 +00:00
|
|
|
(
|
|
|
|
{{~#each only~}}
|
|
|
|
{{{.}}}{{#unless @last}}, {{/unless}}
|
|
|
|
{{/each}}
|
|
|
|
only)
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{#if glossary.[1]}}
|
2017-10-24 20:30:55 +00:00
|
|
|
<ul {{#if compactGlossaries}}class="compact-glossary"{{/if}}>
|
2017-03-18 16:48:53 +00:00
|
|
|
{{#each glossary}}
|
|
|
|
<li><span class="glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
2017-10-24 20:30:55 +00:00
|
|
|
<div class="glossary-item {{#if compactGlossaries}}compact-glossary{{/if}}">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
|
2017-03-18 16:48:53 +00:00
|
|
|
{{/if}}
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "term"}}
|
2017-03-26 01:08:42 +00:00
|
|
|
<div class="entry" data-type="term">
|
2017-03-04 04:25:14 +00:00
|
|
|
<div class="actions">
|
2017-01-09 06:44:13 +00:00
|
|
|
{{#if addable}}
|
2017-07-02 01:27:49 +00:00
|
|
|
<a href="#" class="action-view-note pending disabled"><img src="/mixed/img/view-note.png" title="View added note (Alt + V)" alt></a>
|
2017-03-26 01:08:42 +00:00
|
|
|
<a href="#" class="action-add-note pending disabled" data-mode="term-kanji"><img src="/mixed/img/add-term-kanji.png" title="Add expression (Alt + E)" alt></a>
|
|
|
|
<a href="#" class="action-add-note pending disabled" data-mode="term-kana"><img src="/mixed/img/add-term-kana.png" title="Add reading (Alt + R)" alt></a>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/if}}
|
2017-10-07 04:02:50 +00:00
|
|
|
{{#unless merged}}
|
2017-01-09 06:44:13 +00:00
|
|
|
{{#if playback}}
|
2017-03-26 01:08:42 +00:00
|
|
|
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.png" title="Play audio (Alt + P)" alt></a>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/if}}
|
2017-10-07 04:02:50 +00:00
|
|
|
{{/unless}}
|
2017-07-02 01:27:49 +00:00
|
|
|
<img src="/mixed/img/entry-current.png" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
|
2017-01-09 06:44:13 +00:00
|
|
|
</div>
|
|
|
|
|
2017-10-01 19:51:01 +00:00
|
|
|
{{#if merged}}
|
2017-10-24 20:50:33 +00:00
|
|
|
{{~#each expressions~}}
|
2017-11-06 02:38:01 +00:00
|
|
|
<div class="expression"><span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span><div class="peek-wrapper">
|
2017-10-07 04:02:50 +00:00
|
|
|
{{~#if ../playback~}}
|
2017-10-09 21:56:47 +00:00
|
|
|
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.png" title="Play audio" alt></a>
|
2017-10-24 20:50:33 +00:00
|
|
|
{{~/if~}}
|
2017-10-17 06:27:47 +00:00
|
|
|
{{~#if termTags~}}
|
2017-10-09 21:56:47 +00:00
|
|
|
<div class="tags">
|
2017-10-24 21:58:11 +00:00
|
|
|
{{~#each termTags}}
|
2017-10-07 04:02:50 +00:00
|
|
|
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
|
2017-10-24 21:58:11 +00:00
|
|
|
{{/each~}}
|
2017-10-09 21:56:47 +00:00
|
|
|
</div>
|
2017-10-24 20:50:33 +00:00
|
|
|
{{~/if~}}
|
2017-10-09 21:56:47 +00:00
|
|
|
{{~#if frequencies~}}
|
|
|
|
<div class="frequencies">
|
2017-10-26 07:18:28 +00:00
|
|
|
{{~#each frequencies}}
|
2017-10-09 21:56:47 +00:00
|
|
|
<span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
|
2017-10-26 07:18:28 +00:00
|
|
|
{{/each~}}
|
2017-10-09 21:56:47 +00:00
|
|
|
</div>
|
2017-10-24 20:50:33 +00:00
|
|
|
{{~/if~}}
|
2017-11-06 02:38:01 +00:00
|
|
|
</div><span class="{{#if @last}}invisible{{/if}}">、</span></div>
|
2017-10-24 20:50:33 +00:00
|
|
|
{{~/each~}}
|
2017-10-01 19:51:01 +00:00
|
|
|
{{else}}
|
2017-08-26 18:57:34 +00:00
|
|
|
<div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>
|
2017-10-15 06:45:00 +00:00
|
|
|
{{#if termTags}}
|
|
|
|
<div style="display: inline-block;">
|
|
|
|
{{#each termTags}}
|
|
|
|
<span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-10-01 19:51:01 +00:00
|
|
|
{{/if}}
|
2017-01-09 06:44:13 +00:00
|
|
|
|
|
|
|
{{#if reasons}}
|
2017-03-18 16:48:53 +00:00
|
|
|
<div class="reasons">
|
|
|
|
{{#each reasons}}
|
|
|
|
<span class="reasons">{{.}}</span> {{#unless @last}}«{{/unless}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2017-09-15 20:32:49 +00:00
|
|
|
{{#if frequencies}}
|
|
|
|
<div>
|
|
|
|
{{#each frequencies}}
|
|
|
|
<span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2017-03-04 04:25:14 +00:00
|
|
|
<div class="glossary">
|
2017-03-18 16:48:53 +00:00
|
|
|
{{#if grouped}}
|
2017-01-09 06:44:13 +00:00
|
|
|
{{#if definitions.[1]}}
|
|
|
|
<ol>
|
|
|
|
{{#each definitions}}
|
2017-10-15 07:38:30 +00:00
|
|
|
<li>{{> definition compactGlossaries=../compactGlossaries}}</li>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
{{else}}
|
2017-10-15 07:38:30 +00:00
|
|
|
{{> definition definitions.[0] compactGlossaries=compactGlossaries}}
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/if}}
|
2017-10-01 19:51:01 +00:00
|
|
|
{{else if merged}}
|
|
|
|
{{#if definitions.[1]}}
|
|
|
|
<ol>
|
|
|
|
{{#each definitions}}
|
2017-10-15 07:38:30 +00:00
|
|
|
<li>{{> definition compactGlossaries=../compactGlossaries}}</li>
|
2017-10-01 19:51:01 +00:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
{{else}}
|
2017-10-15 07:38:30 +00:00
|
|
|
{{> definition definitions.[0] compactGlossaries=compactGlossaries}}
|
2017-10-01 19:51:01 +00:00
|
|
|
{{/if}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{else}}
|
2017-10-15 07:38:30 +00:00
|
|
|
{{> definition compactGlossaries=compactGlossaries}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{/if}}
|
2017-01-09 06:44:13 +00:00
|
|
|
</div>
|
2017-05-24 04:27:20 +00:00
|
|
|
|
|
|
|
{{#if debug}}
|
|
|
|
<pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre>
|
|
|
|
{{/if}}
|
2017-03-18 03:45:47 +00:00
|
|
|
</div>
|
2017-01-09 06:44:13 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
2016-11-14 02:06:49 +00:00
|
|
|
{{#if definitions}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{#each definitions}}
|
|
|
|
{{#unless @first}}<hr>{{/unless}}
|
2017-10-15 07:38:30 +00:00
|
|
|
{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries}}
|
2017-03-18 16:48:53 +00:00
|
|
|
{{/each}}
|
2016-11-14 02:06:49 +00:00
|
|
|
{{else}}
|
2017-06-26 04:14:39 +00:00
|
|
|
<p class="note">No results found.</p>
|
2016-11-14 02:06:49 +00:00
|
|
|
{{/if}}
|