common/corpus-common-addon/app/templates/components/doc-language.hbs
author ymh <ymh.work@gmail.com>
Thu, 25 Feb 2016 12:24:30 +0100
changeset 132 d97eda8bc8ec
parent 127 5cd8c3065c38
permissions -rw-r--r--
move viaf-resolver to common module
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
{{#if isLanguageLink}}
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<a href="{{language}}" target="_blank" title={{resolvedName}} class="bo-doc-ref-link">
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
  {{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
</a>
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
{{else}}
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
{{#if resolvedName}}{{resolvedName}}{{else}}{{code}}{{/if}}
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
{{/if}}