common/corpus-common-addon/addon/templates/components/doc-location.hbs
author ymh <ymh.work@gmail.com>
Wed, 22 Feb 2017 07:57:05 +0100
changeset 519 ef3e4841d506
parent 502 74fba571487e
permissions -rw-r--r--
Correct bug #0026428 - in notice filter on creation date for period

{{#if isLocationLink}}
  {{#if onClick }}
    <span {{ action onClick }} title={{url}} class="bo-doc-ref-link doc-link-geonames">{{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}</span>
  {{else}}
    <a href="{{url}}" target="_blank" title="{{url}}" class="bo-doc-ref-link doc-link-geonames">
      {{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
    </a>
  {{/if}}
  {{#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}}