aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/term.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/term.html
parentf535683e9b35aabe0c481bf5e4b040dc40d019e7 (diff)
WIP
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index f31d9da0..3d3d4eb0 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,10 +1,18 @@
<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}}
+ {{#if vocabExp}}
+ <a href="#" title="Add as expression"><img src="{{../root}}/img/add_expression.png"></a>
+ {{else}}
+ <img src="{{../root}}/img/add_expression.png" class="inactive">
+ {{/if}}
+
+ {{#if vocabReading}}
+ <a href="#" title="Add as reading"><img src="{{../root}}/img/add_reading.png"></a>
+ {{else}}
+ <img src="{{../root}}/img/add_reading.png" class="inactive">
+ {{/if}}
{{/with}}
- <a href="#" title="Copy definition"><img src="{{root}}/img/icon_copy_definition.png"></a>
</div>
{{#if reading}}