diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-28 15:20:18 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-28 15:20:18 +0200 |
commit | beea89a421736ec157e196ffca6b3720a811635d (patch) | |
tree | 9c46b264f942a1aa2a7f3356e7997547e5bdae45 /tmpl/kanji.html | |
parent | 4e7d08ff2c184a361622a6efaf00e21af51428a9 (diff) |
store popped context history in Display
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r-- | tmpl/kanji.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index c3064526..35f997dc 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -23,6 +23,9 @@ No data found {{#if source}} <a href="#" class="source-term"><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a> {{/if}} + {{#if history}} + <a href="#" class="history-term"><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="History term (Alt + F)" alt></a> + {{/if}} <img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt> </div> @@ -93,7 +96,7 @@ No data found {{#if definitions}} {{#each definitions}} {{#unless @first}}<hr>{{/unless}} -{{> kanji debug=../debug addable=../addable source=../source root=../root}} +{{> kanji debug=../debug addable=../addable source=../source history=../history root=../root}} {{/each}} {{else}} <p class="note">No results found</p> |