mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
43 lines
1.6 KiB
Handlebars
43 lines
1.6 KiB
Handlebars
{{<<<<<<<}}
|
|
{{#*inline "phonetic-transcriptions"}}
|
|
{{~#if (op ">" definition.phoneticTranscriptions.length 0)~}}
|
|
<ul>
|
|
{{~#each definition.phoneticTranscriptions~}}
|
|
{{~#each phoneticTranscriptions~}}
|
|
<li>
|
|
{{~set "any" false~}}
|
|
{{~#each tags~}}
|
|
{{~#if (get "any")}}, {{else}}<i>({{/if~}}
|
|
{{name}}
|
|
{{~set "any" true~}}
|
|
{{~/each~}}
|
|
{{~#if (get "any")}})</i> {{/if~}}
|
|
{{ipa~}}
|
|
</li>
|
|
{{~/each~}}
|
|
{{~/each~}}
|
|
</ul>
|
|
{{~/if~}}
|
|
{{/inline}}
|
|
{{=======}}
|
|
{{#*inline "phonetic-transcriptions"}}
|
|
{{~#if (op ">" definition.phoneticTranscriptions.length 0)~}}
|
|
<ul>
|
|
{{~#each definition.phoneticTranscriptions~}}
|
|
{{~#each phoneticTranscriptions~}}
|
|
<li class="pronunciation" data-pronunciation-type="phonetic-transcription">
|
|
{{~set "any" false~}}
|
|
{{~#each tags~}}
|
|
{{~#if (get "any")}}, {{else}}<i>({{/if~}}
|
|
<span class="tag" data-details="{{name}}">{{name}}</span>
|
|
{{~set "any" true~}}
|
|
{{~/each~}}
|
|
{{~#if (get "any")}})</i> {{/if~}}
|
|
{{ipa~}}
|
|
</li>
|
|
{{~/each~}}
|
|
{{~/each~}}
|
|
</ul>
|
|
{{~/if~}}
|
|
{{/inline}}
|
|
{{>>>>>>>}} |