common/corpus-common-addon/addon/templates/components/doc-language.hbs
author ymh <ymh.work@gmail.com>
Fri, 16 Dec 2016 17:43:07 +0100
changeset 474 245b4df137d3
parent 447 38d5789e30d0
child 492 acecbffac2c4
permissions -rw-r--r--
Correct themes visualisation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
429
4a0fc5c5f420 put language node names in doc-language component
ymh <ymh.work@gmail.com>
parents: 304
diff changeset
     1
{{#if isLanguageNode}}
4a0fc5c5f420 put language node names in doc-language component
ymh <ymh.work@gmail.com>
parents: 304
diff changeset
     2
{{code}}
4a0fc5c5f420 put language node names in doc-language component
ymh <ymh.work@gmail.com>
parents: 304
diff changeset
     3
{{else if isLanguageLink}}
447
38d5789e30d0 Improce notice data display, correct m3.23
ymh <ymh.work@gmail.com>
parents: 429
diff changeset
     4
{{#if onClick }}
38d5789e30d0 Improce notice data display, correct m3.23
ymh <ymh.work@gmail.com>
parents: 429
diff changeset
     5
<span {{ action onClick }} title={{url}} class="bo-doc-ref-link doc-link-lexvo">{{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}</span>
38d5789e30d0 Improce notice data display, correct m3.23
ymh <ymh.work@gmail.com>
parents: 429
diff changeset
     6
{{else}}
304
20071981ba2a add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents: 134
diff changeset
     7
<a href="{{url}}" target="_blank" title={{url}} class="bo-doc-ref-link doc-link-lexvo">
134
c06d08c8a1b8 add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
  {{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
c06d08c8a1b8 add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
</a>
447
38d5789e30d0 Improce notice data display, correct m3.23
ymh <ymh.work@gmail.com>
parents: 429
diff changeset
    10
{{/if}}
134
c06d08c8a1b8 add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
{{else}}
c06d08c8a1b8 add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
{{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
c06d08c8a1b8 add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
{{/if}}