summaryrefslogtreecommitdiff
path: root/tmpl/terms.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r--tmpl/terms.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index 993b5aa0..9cfabc58 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -41,9 +41,6 @@
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.svg" title="Play audio (Alt + P)" alt></a>
{{/if}}
{{/unless}}
- {{#if source}}
- <a href="#" class="source-term"><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
- {{/if}}
<img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
</div>
@@ -129,9 +126,13 @@
{{/inline}}
{{#if definitions}}
+<div class="term-navigation">
+ <a href="#" {{#if source}}class="source-term"{{else}}class="source-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" title="Source term (Alt + B)" alt></a>
+ <a href="#" {{#if next}}class="next-term"{{else}}class="next-term term-button-fade"{{/if}}><img src="/mixed/img/source-term.svg" style="transform: scaleX(-1);" title="Next term (Alt + F)" alt></a>
+</div>
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}
-{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries source=../source}}
+{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback compactGlossaries=../compactGlossaries}}
{{/each}}
{{else}}
<p class="note">No results found.</p>