summaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-13 20:13:41 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-13 20:13:41 -0700
commit6e32b08d1cca7601903a9f2187fb37c427c2ed68 (patch)
treed60e3cb11d0f0572f6ca68bb1bb264a0f831a9f0 /util/tmpl/term.html
parent0d4a5da8e8a28a4b4e3d7e9892b2734524d2eae7 (diff)
Updating styles and templates
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 3713e1e8..56854499 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,5 +1,9 @@
+{{#if reading}}
+<div class="yomichan-def-expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
+{{else}}
<div class="yomichan-def-expression">{{expression}}</div>
-{{#if reading}}<div class="yomichan-def-reading">{{reading}}</div>{{/if}}
+{{/if}}
+
<div class="yomichan-def-glossary">
<ol>
{{#each glossary}}