common/corpus-common-addon/addon/templates/components/doc-literal.hbs
author ymh <ymh.work@gmail.com>
Thu, 08 Sep 2016 19:15:46 +0200
changeset 276 ef32bf573d9c
parent 141 c0e8626a271c
permissions -rw-r--r--
correct error in test with empty document returned by query
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
141
c0e8626a271c literal are now objects if one of lang or datatype is not null
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
{{#if value}}{{value}}{{/if}}<span class="doc-supsub">{{#if lang}}<sup>{{lang}}</sup>{{/if}}{{#if datatype}}<sub>{{datatype}}</sub>{{/if}}</span>