summaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-04 18:58:12 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-04 18:58:12 -0700
commit574b2251b705906df440779cccce4962979e7062 (patch)
tree80f7ffdac5ad08e1c6dcf52d458376299b1dfe63 /util/tmpl/kanji.html
parent36e9a332dfe8ea60f0149100ff990f9c5e58b449 (diff)
Cleanup
Diffstat (limited to 'util/tmpl/kanji.html')
-rw-r--r--util/tmpl/kanji.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index 8aab5f18..d30499ea 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -1,16 +1,16 @@
<div class="kanji-definition">
{{#with options}}
- {{#if enableAnkiConnect}}
- <div class="action-icons">
- {{#with ../addable}}
- {{#if kanji}}
- <a href="#" title="Add Kanji"><img src="{{../../root}}/add_kanji.png"></a>
- {{else}}
- <img src="{{../../root}}/add_kanji.png" class="inactive">
- {{/if}}
- {{/with}}
- </div>
+ {{#if enableAnkiConnect}}
+ <div class="action-icons">
+ {{#with ../addable}}
+ {{#if kanji}}
+ <a href="#" title="Add Kanji"><img src="{{../../root}}/add_kanji.png"></a>
+ {{else}}
+ <img src="{{../../root}}/add_kanji.png" class="inactive">
{{/if}}
+ {{/with}}
+ </div>
+ {{/if}}
{{/with}}
<div class="kanji-glyph">{{character}}</div>