aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-07-18 08:41:46 -0700
committerAlex Yatskov <alex@foosoft.net>2016-07-18 08:41:46 -0700
commita9a694358f046fca54ca8a83e1fb831e69a88a88 (patch)
tree8a3a0bfa0c475e2d724c0d33cb554112ada7dac6 /tmpl
parenta567ef360523e71040348fdded761c6d71a6d4d5 (diff)
Fixing Kanji behavior, bumping version
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/kanji.html9
-rw-r--r--tmpl/term.html4
2 files changed, 6 insertions, 7 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 81ead584..3e148aae 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -1,10 +1,10 @@
<div class="kanji-definition">
{{#with options}}
- {{#if enableAnkiConnect}}
- <div class="action-bar">
- <a href="#" title="Add Kanji" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
+ <div class="action-bar" data-sequence="{{../sequence}}">
+ {{#if enableAnkiConnect}}
+ <a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
+ {{/if}}
</div>
- {{/if}}
{{/with}}
<div class="kanji-glyph">{{character}}</div>
@@ -40,4 +40,3 @@
</dl>
</div>
</div>
-</div>
diff --git a/tmpl/term.html b/tmpl/term.html
index 1bb79375..620b5ace 100644
--- a/tmpl/term.html
+++ b/tmpl/term.html
@@ -5,8 +5,8 @@
<a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="{{../root}}/img/play_audio.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>
+ <a href="#" title="Add vocabulary 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 vocabulary as reading" class="action-add-note disabled" data-mode="vocab_kana" data-index="{{@index}}"><img src="{{../root}}/img/add_vocab_kana.png"></a>
{{/if}}
</div>
{{/with}}