diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji.html | 2 | ||||
-rw-r--r-- | tmpl/term.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index e22dd660..1dc19983 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -1,7 +1,7 @@ <div class="kanji-definition"> <div class="action-bar" data-sequence="{{sequence}}"> {{#if addable}} - <a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{root}}/img/add_kanji.png"></a> + <a href="#" title="Add Kanji" class="action-add-note pending disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{root}}/img/add_kanji.png"></a> {{/if}} </div> diff --git a/tmpl/term.html b/tmpl/term.html index e4a0d02b..e931e5cf 100644 --- a/tmpl/term.html +++ b/tmpl/term.html @@ -1,12 +1,12 @@ <div class="term-definition"> <div class="action-bar" data-sequence="{{sequence}}"> + {{#if addable}} + <a href="#" title="Add term as expression" class="action-add-note pending disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="{{root}}/img/add_term_kanji.png"></a> + <a href="#" title="Add term as reading" class="action-add-note pending disabled" data-mode="term_kana" data-index="{{@index}}"><img src="{{root}}/img/add_term_kana.png"></a> + {{/if}} {{#if options.enableAudioPlayback}} <a href="#" title="Play audio" class="action-play-audio" data-index="{{@index}}"><img src="{{root}}/img/play_audio.png"></a> {{/if}} - {{#if addable}} - <a href="#" title="Add term as expression" class="action-add-note disabled" data-mode="term_kanji" data-index="{{@index}}"><img src="{{root}}/img/add_term_kanji.png"></a> - <a href="#" title="Add term as reading" class="action-add-note disabled" data-mode="term_kana" data-index="{{@index}}"><img src="{{root}}/img/add_term_kana.png"></a> - {{/if}} </div> {{#if reading}} |