summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-29 13:26:09 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-29 13:26:09 -0700
commitd479107eb57fb59915693f47772d6e48ddd8b30d (patch)
tree4fe379737b200e5a94217344667d713d7c45cef4 /tmpl
parent49951356572fe972ef01d0578861c39430520f19 (diff)
Cleanup
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/kanji-list.html2
-rw-r--r--tmpl/term-list.html2
-rw-r--r--tmpl/term.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/kanji-list.html b/tmpl/kanji-list.html
index b5d0b627..34349862 100644
--- a/tmpl/kanji-list.html
+++ b/tmpl/kanji-list.html
@@ -1,5 +1,5 @@
{{> header.html}}
-{{#each defs}}
+{{#each definitions}}
{{> kanji.html root=../root options=../options sequence=../sequence}}
{{/each}}
{{> footer.html}}
diff --git a/tmpl/term-list.html b/tmpl/term-list.html
index 5581b679..615534f6 100644
--- a/tmpl/term-list.html
+++ b/tmpl/term-list.html
@@ -1,5 +1,5 @@
{{> header.html}}
-{{#each defs}}
+{{#each definitions}}
{{> term.html root=../root options=../options sequence=../sequence}}
{{/each}}
{{> footer.html}}
diff --git a/tmpl/term.html b/tmpl/term.html
index 216ccf0a..3fb75c98 100644
--- a/tmpl/term.html
+++ b/tmpl/term.html
@@ -2,8 +2,8 @@
{{#with options}}
{{#if enableAnkiConnect}}
<div class="action-bar">
- <a href="#" title="Add term as expression" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="vocabExp" data-index="{{@index}}"><img src="{{../root}}/img/add_expression.png"></a>
- <a href="#" title="Add term as reading" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="vocabReading" data-index="{{@index}}"><img src="{{../root}}/img/add_reading.png"></a>
+ <a href="#" title="Add term as expression" class="action-link disabled" data-sequence="{{../sequence}}" 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-link disabled" data-sequence="{{../sequence}}" data-mode="vocab_kana" data-index="{{@index}}"><img src="{{../root}}/img/add_vocab_kana.png"></a>
</div>
{{/if}}
{{/with}}