aboutsummaryrefslogtreecommitdiff
path: root/tmpl/terms.html
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-03 19:54:01 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2019-08-03 19:54:01 +0300
commit3b07a9000cbf715098b6e368c39ee9175cd5f04f (patch)
tree340aa25b156bcbc178d0e9326f3fd0ca5a0d8bef /tmpl/terms.html
parent683bb5b620759c71297ca6d8fe24aa8c3ff56a18 (diff)
add source term button to terms
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r--tmpl/terms.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index e01fc8d5..b9e5e0ad 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -39,6 +39,9 @@
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.png" title="Play audio (Alt + P)" alt></a>
{{/if}}
{{/unless}}
+ {{#if source}}
+ <a href="#" class="source-term"><img src="/mixed/img/source-term.png" title="Source term (Alt + B)" alt></a>
+ {{/if}}
<img src="/mixed/img/entry-current.png" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
</div>
@@ -126,7 +129,7 @@
{{#if definitions}}
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}
-{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries}}
+{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries source=../source}}
{{/each}}
{{else}}
<p class="note">No results found.</p>