summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-15 13:32:49 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-15 13:32:49 -0700
commit7f55f1c8d2b82abda1cbdc353f28ae9136a361f3 (patch)
treea2046d2804015ee71cc9cc2b56d62e59c9e6f78b /tmpl
parent39e38d56657b9b11f49af96d84c819e6b6fcec8d (diff)
display term frequencies
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 ffe52ab8..a130e775 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -41,6 +41,14 @@
</div>
{{/if}}
+ {{#if frequencies}}
+ <div>
+ {{#each frequencies}}
+ <span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
+ {{/each}}
+ </div>
+ {{/if}}
+
<div class="glossary">
{{#if grouped}}
{{#if definitions.[1]}}