aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/display-templates.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-05 17:45:45 -0500
committerGitHub <noreply@github.com>2020-12-05 17:45:45 -0500
commit95b225462ad50af31da104427d61aff3597a8244 (patch)
tree94818f864910b9a4eb12067c4bde23805ed4a9d4 /ext/mixed/display-templates.html
parentae9a20e0de61bbb84ec359004a401d9f2705aeea (diff)
Fix frequency tags (#1080)
* Rename term-frequency to tag-frequency * Move tag styles * Expand * Use separate templates for terms vs kanji
Diffstat (limited to 'ext/mixed/display-templates.html')
-rw-r--r--ext/mixed/display-templates.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html
index 2e2cc32c..3953098d 100644
--- a/ext/mixed/display-templates.html
+++ b/ext/mixed/display-templates.html
@@ -97,6 +97,24 @@
<!-- Tag templates -->
<template id="tag-template"><span class="tag"><span class="tag-inner"></span></span></template>
-<template id="tag-frequency-template"><span class="tag" data-category="frequency"><span class="tag-inner"><span class="term-frequency-disambiguation"><span class="term-frequency-disambiguation-expression"></span><span class="term-frequency-disambiguation-separator"></span><span class="term-frequency-disambiguation-reading"></span></span><span class="term-frequency-dictionary-name"></span><span class="term-frequency-separator"></span><span class="term-frequency-value"></span></span></span></template>
+<template id="term-tag-frequency-template" data-remove-whitespace-text="true"><span class="tag" data-category="frequency">
+ <span class="tag-inner">
+ <span class="tag-frequency-disambiguation">
+ <span class="tag-frequency-disambiguation-expression"></span>
+ <span class="tag-frequency-disambiguation-separator"></span>
+ <span class="tag-frequency-disambiguation-reading"></span>
+ </span>
+ <span class="tag-frequency-dictionary-name"></span>
+ <span class="tag-frequency-separator"></span>
+ <span class="tag-frequency-value"></span>
+ </span>
+</span></template>
+<template id="kanji-tag-frequency-template" data-remove-whitespace-text="true"><span class="tag" data-category="frequency">
+ <span class="tag-inner">
+ <span class="tag-frequency-dictionary-name"></span>
+ <span class="tag-frequency-separator"></span>
+ <span class="tag-frequency-value"></span>
+ </span>
+</span></template>
</body></html>