aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-11 09:18:55 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-11 09:18:55 +0300
commit4fb983a70cd02c0c0126a26e70d40261d5b2a51d (patch)
tree5811191bc6974b8c2813abd5d944e0b1661df4f4 /tmpl
parente1c5d7a401f1f974da1bedd8600524d982c2c7de (diff)
add termTags
The dictionary tags field can now have a '\t' in it, and it is used to separate tags associated with definitions and terms.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/terms.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index cc0f600e..72bf9824 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -80,6 +80,14 @@
</div>
{{/if}}
+ {{#if termTags}}
+ <div>
+ {{#each termTags}}
+ <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span>
+ {{/each}}
+ </div>
+ {{/if}}
+
{{#if frequencies}}
<div>
{{#each frequencies}}