summaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-03 20:53:53 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-03 20:53:53 -0700
commitf535683e9b35aabe0c481bf5e4b040dc40d019e7 (patch)
treeeb512db85b71ae5c596bb8be35083c268df7f540 /util/tmpl/kanji.html
parent5eea27004c332dc1fc9ab6b583b5a21b4408b6b2 (diff)
WIP
Diffstat (limited to 'util/tmpl/kanji.html')
-rw-r--r--util/tmpl/kanji.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index c1883b19..e74fb5ae 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -1,5 +1,13 @@
<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}}
+ {{/with}}
+ <a href="#" title="Copy definition"><img src="{{root}}/img/icon_copy_definition.png"></a>
+ </div>
+
<div class="kanji-glyph">{{character}}</div>
+
<div class="kanji-info">
<dl>
{{#if glossary}}