summaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
diff options
context:
space:
mode:
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 0daf9f49..f31d9da0 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,4 +1,12 @@
<div class="term-definition">
+ <div class="action-icons">
+ {{#with addable}}
+ {{#if vocabExp}}<a href="#" title="Add as expression"><img src="{{../root}}/img/icon_add_expression.png"></a>{{/if}}
+ {{#if vocabReading}}<a href="#" title="Add as reading"><img src="{{../root}}/img/icon_add_reading.png"></a>{{/if}}
+ {{/with}}
+ <a href="#" title="Copy definition"><img src="{{root}}/img/icon_copy_definition.png"></a>
+ </div>
+
{{#if reading}}
<div class="term-expression"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
{{else}}