common/corpus-common-addon/addon/templates/components/doc-subject.hbs
author ymh <ymh.work@gmail.com>
Tue, 15 Nov 2016 17:42:57 +0100
changeset 424 feb0d3e0fef9
parent 304 20071981ba2a
child 447 38d5789e30d0
permissions -rw-r--r--
add dynamic date range calculation for dates, and add color gradient component, add color gradient for language and chrono

{{#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}}