summaryrefslogtreecommitdiff
path: root/ext/display-templates.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-10-14 21:26:53 -0400
committerGitHub <noreply@github.com>2021-10-14 21:26:53 -0400
commit75aabd983da29023b8423bd44d565202aad6b664 (patch)
tree754fbe5457747cd72fcf13767fc3176fc0d8f280 /ext/display-templates.html
parent11f7591a7f5fcbfc3a3e631eaac0addb228c988a (diff)
String frequency support (#1989)
* Restore support for string frequency values * Add support for {value, displayValue} frequencies * Update test data * Improve number parsing of string frequencies * Improve reading detection * Expose a displayValue property for frequency information * Update docs * Expose displayValue to Anki note data * Fix translator * Update display generation * Update test data * Update counts
Diffstat (limited to 'ext/display-templates.html')
-rw-r--r--ext/display-templates.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/display-templates.html b/ext/display-templates.html
index 534ad704..c181a64e 100644
--- a/ext/display-templates.html
+++ b/ext/display-templates.html
@@ -71,13 +71,13 @@
<rt class="frequency-disambiguation-reading"></rt>
</ruby></span>
<span class="frequency-separator"></span>
- <span class="frequency-value"></span>
+ <span class="frequency-value-list"></span>
</span></span>
</span></span></template>
<template id="kanji-frequency-item-template" data-remove-whitespace-text="true"><span class="frequency-item"><span class="tag tag-has-body frequency-tag" data-category="frequency" data-frequency-type="kanji">
<span class="tag-label"><span class="tag-label-content"></span></span>
<span class="tag-body"><span class="tag-body-content frequency-body">
- <span class="frequency-value"></span>
+ <span class="frequency-value-list"></span>
</span></span>
</span></span></template>