common/corpus-common-addon/addon/templates/components/doc-literal.hbs
author ymh <ymh.work@gmail.com>
Thu, 20 Oct 2016 17:27:36 +0200
changeset 377 52169c718513
parent 141 c0e8626a271c
permissions -rw-r--r--
make all stats view use elasticsearch. Make sure that the document discourse types are taken form the predefined list
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>