common/corpus-common-addon/addon/templates/components/doc-language.hbs
author ymh <ymh.work@gmail.com>
Sat, 06 Aug 2016 21:27:53 +0700
changeset 260 64caee7ce38d
parent 134 c06d08c8a1b8
child 304 20071981ba2a
permissions -rw-r--r--
Split document model in document and document results

{{#if isLanguageLink}}
<a href="{{url}}" target="_blank" title={{resolvedName}} class="bo-doc-ref-link doc-link-lexvo">
  {{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
</a>
{{else}}
{{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
{{/if}}