summaryrefslogtreecommitdiff
path: root/tmpl/term.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-07-15 23:29:36 -0700
committerAlex Yatskov <alex@foosoft.net>2016-07-15 23:29:36 -0700
commitf2bd0ec7bb7cd8abf351868929261026429c383a (patch)
treec5d9635a77d4c18042e0e8d8499732ba3bf4c6b6 /tmpl/term.html
parent361dd47f0abab271f8ae3bf4ce2cdcc3b0b91c99 (diff)
Add option to enable and disable audio playback
Diffstat (limited to 'tmpl/term.html')
-rw-r--r--tmpl/term.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpl/term.html b/tmpl/term.html
index ccc321e6..6296a2f3 100644
--- a/tmpl/term.html
+++ b/tmpl/term.html
@@ -1,7 +1,9 @@
<div class="term-definition">
{{#with options}}
<div class="action-bar" data-sequence="{{../sequence}}">
+ {{#if enableAudioPlayback}}
<a href="#" title="Pronounce" class="action-pronounce" data-index="{{@index}}"><img src="{{../root}}/img/pronounce.png"></a>
+ {{/if}}
{{#if enableAnkiConnect}}
<a href="#" title="Add term as expression" class="action-add-note disabled" data-mode="vocab_kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_vocab_kanji.png"></a>
<a href="#" title="Add term as reading" class="action-add-note disabled" data-mode="vocab_kana" data-index="{{@index}}"><img src="{{../root}}/img/add_vocab_kana.png"></a>