common/corpus-common-addon/addon/templates/components/doc-subject.hbs
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 25 Aug 2016 18:44:50 +0200
changeset 269 9659e91242e1
parent 134 c06d08c8a1b8
child 304 20071981ba2a
permissions -rw-r--r--
Add subjects to notice + Background color two notice type + Remove empty notice fields

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