summaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-03 22:07:05 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-03 22:07:05 -0700
commit8926eeab4501724ce4627ae9cff97963f2bd2b72 (patch)
tree31ec51f06c2959c98f4d5f0288bd0c7b0c59acec /util/tmpl/kanji.html
parentf535683e9b35aabe0c481bf5e4b040dc40d019e7 (diff)
WIP
Diffstat (limited to 'util/tmpl/kanji.html')
-rw-r--r--util/tmpl/kanji.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index e74fb5ae..7f797c4b 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -1,9 +1,12 @@
<div class="kanji-definition">
<div class="action-icons">
{{#with addable}}
- {{#if kanji}}<a href="#" title="Add Kanji"><img src="{{../root}}/img/icon_add_expression.png"></a>{{/if}}
+ {{#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}}
- <a href="#" title="Copy definition"><img src="{{root}}/img/icon_copy_definition.png"></a>
</div>
<div class="kanji-glyph">{{character}}</div>