aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-14 20:36:00 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-14 20:36:00 -0700
commit5f74c473cef4564ad2040d9211f70b4f0ac048f1 (patch)
treefc1edf0dede7b783eb0de5b4eece24ba13e6ec43 /util/tmpl/term.html
parentba3e0c65327bae982001d2d2f83ece2650ae3687 (diff)
Switch to iframe
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 56854499..bd414f26 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,10 +1,16 @@
{{#if reading}}
-<div class="yomichan-def-expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
+<div class="expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
{{else}}
-<div class="yomichan-def-expression">{{expression}}</div>
+<div class="expression">{{expression}}</div>
{{/if}}
-<div class="yomichan-def-glossary">
+<div class="rules">
+ {{#if rules}}
+ {{rules}}
+ {{/if}}
+</div>
+
+<div class="glossary">
<ol>
{{#each glossary}}
<li>{{.}}</li>