mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
48 lines
1.7 KiB
Handlebars
48 lines
1.7 KiB
Handlebars
{{<<<<<<<}}
|
|
{{#*inline "frequencies"}}
|
|
{{~#if (op ">" definition.frequencies.length 0)~}}
|
|
<ul style="text-align: left;">
|
|
{{~#each definition.frequencies~}}
|
|
<li>
|
|
{{~#if (op "!==" ../definition.type "kanji")~}}
|
|
{{~#if (op "||" (op ">" ../uniqueExpressions.length 1) (op ">" ../uniqueReadings.length 1))~}}(
|
|
{{~furigana expression reading~}}
|
|
) {{/if~}}
|
|
{{~/if~}}
|
|
{{~dictionaryAlias}}: {{frequency~}}
|
|
</li>
|
|
{{~/each~}}
|
|
</ul>
|
|
{{~/if~}}
|
|
{{/inline}}
|
|
{{=======}}
|
|
{{#*inline "frequencies"}}
|
|
{{~#if (op ">" definition.frequencies.length 0)~}}
|
|
<ul style="text-align: left;">
|
|
{{~#each definition.frequencies~}}
|
|
{{~#unless (op "&&" ../selectedDictionary (op "!=" ../selectedDictionary dictionary))~}}
|
|
<li>
|
|
{{~#if (op "!==" ../definition.type "kanji")~}}
|
|
{{~#if (op "||" (op ">" ../uniqueExpressions.length 1) (op ">" ../uniqueReadings.length 1))~}}(
|
|
{{~furigana expression reading~}}
|
|
) {{/if~}}
|
|
{{~/if~}}
|
|
{{~dictionaryAlias}}: {{frequency~}}
|
|
</li>
|
|
{{~/unless~}}
|
|
{{~/each~}}
|
|
</ul>
|
|
{{~/if~}}
|
|
{{/inline}}
|
|
{{>>>>>>>}}
|
|
|
|
{{#*inline "single-frequency-number"}}
|
|
{{~#if (op ">" definition.frequencyNumbers.length 0)~}}
|
|
{{~#each definition.frequencyNumbers~}}
|
|
{{~#unless (op "&&" ../selectedDictionary (op "!=" ../selectedDictionary dictionary))~}}
|
|
{{frequency~}}
|
|
{{~/unless~}}
|
|
{{~/each~}}
|
|
{{/if}}
|
|
{{/inline}}
|