summaryrefslogtreecommitdiff
path: root/tmpl/terms.html
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-08-03 19:54:56 -0700
committerGitHub <noreply@github.com>2019-08-03 19:54:56 -0700
commit0368641621bd8a2f62f380d40c10bb5ca824f3cf (patch)
tree736143cac8a884329b00043baf640aa70aa5cac6 /tmpl/terms.html
parent567b136f5f004ee887cf9a8bd950b2286fd5ddab (diff)
parentbf92430ea742422e2e3ab4ba5ed5c2259be4c775 (diff)
Merge pull request #172 from siikamiika/search-terms-from-terms
allow looking up terms from within 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>