common/corpus-common-addon/addon/templates/components/doc-subject.hbs
author ymh <ymh.work@gmail.com>
Thu, 03 Nov 2016 09:44:11 +0100
changeset 390 f4fed295115b
parent 304 20071981ba2a
child 447 38d5789e30d0
permissions -rw-r--r--
put virtualenv activation during build in comment. That means that for the moment the build machine must be provisionned beforehand, or ansible must be available globally

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