common/corpus-common-addon/addon/templates/components/doc-language.hbs
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 134 c06d08c8a1b8
child 304 20071981ba2a
permissions -rw-r--r--
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)

{{#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}}