summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/kanji.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 00e4efd7..8f52eb4a 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -4,6 +4,9 @@
{{#if addable}}
<a href="#" title="Add Kanji" class="action-add-note pending disabled" data-mode="kanji" data-index="{{@index}}"><img src="/mixed/img/add-kanji.png"></a>
{{/if}}
+ {{#if source}}
+ <a href="#" title="Source term" class="source-term"><img src="/mixed/img/source-term.png"></a>
+ {{/if}}
</div>
<div class="glyph">{{character}}</div>
@@ -46,15 +49,13 @@
<div class="glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
{{/if}}
</div>
-
- <a href="#" class="term-source">Back</a>
</div>
{{/inline}}
{{#if definitions}}
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}
- {{> kanji addable=../addable root=../root}}
+ {{> kanji addable=../addable source=../source root=../root}}
{{/each}}
{{else}}
<p>No results found.</p>