common/corpus-common-addon/addon/templates/components/doc-location.hbs
author ymh <ymh.work@gmail.com>
Mon, 06 Feb 2017 15:22:39 +0100
changeset 500 4f507ba2bb4c
parent 492 acecbffac2c4
child 502 74fba571487e
permissions -rw-r--r--
add alternativeTitle. Prepare #0025746

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