common/corpus-common-addon/addon/templates/components/doc-location.hbs
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:40 +0100
changeset 573 25f3d28f51b2
parent 502 74fba571487e
permissions -rw-r--r--
Added tag 0.0.25 for changeset 190ae1dee68d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
304
20071981ba2a add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
{{#if isLocationLink}}
502
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     2
  {{#if onClick }}
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     3
    <span {{ action onClick }} title={{url}} class="bo-doc-ref-link doc-link-geonames">{{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}</span>
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     4
  {{else}}
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     5
    <a href="{{url}}" target="_blank" title="{{url}}" class="bo-doc-ref-link doc-link-geonames">
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     6
      {{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     7
    </a>
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     8
  {{/if}}
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
     9
  {{#if displayUrlLink}}<a href="{{url}}" target="_blank" title={{url}} class="bo-doc-ref-url doc-link-geonames-url">&nbsp;</a>{{/if}}
74fba571487e Complete the notice display. add various fields to document to correctly display the notice. Correct bug #0025746
ymh <ymh.work@gmail.com>
parents: 492
diff changeset
    10
{{else}}
304
20071981ba2a add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
  {{#if resolvedLabel}}{{resolvedLabel}}{{else}}{{code}}{{/if}}
20071981ba2a add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
{{/if}}