common/corpus-common-addon/addon/templates/components/doc-location.hbs
author ymh <ymh.work@gmail.com>
Sat, 19 Nov 2016 21:29:56 +0100
changeset 429 4a0fc5c5f420
parent 304 20071981ba2a
child 492 acecbffac2c4
permissions -rw-r--r--
put language node names in doc-language component

{{#if isLocationLink}}
<a href="{{url}}" target="_blank" title="{{url}}" class="bo-doc-ref-link doc-link-geonames">
  {{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
</a>
{{else}}
{{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
{{/if}}