common/corpus-common-addon/addon/templates/components/doc-subject.hbs
author ymh <ymh.work@gmail.com>
Tue, 27 Sep 2016 23:43:29 +0200
changeset 304 20071981ba2a
parent 134 c06d08c8a1b8
child 447 38d5789e30d0
permissions -rw-r--r--
add location and geonames resolvers and api

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