From 3b664dd908b94e1306a211e7c8b9cde74694c018 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sun, 1 Oct 2017 22:51:01 +0300 Subject: merged mode: missing changes from previous commit The compiled template is already there, though --- tmpl/terms.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'tmpl') diff --git a/tmpl/terms.html b/tmpl/terms.html index a130e775..ca0dcbe9 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -31,7 +31,12 @@ + {{#if merged}} +
{{#kanjiLinks}}{{#expressions}}{{{.}}}{{/expressions}}{{/kanjiLinks}}
+
{{#readings}}{{{.}}}{{/readings}}
+ {{else}}
{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}
+ {{/if}} {{#if reasons}}
@@ -60,6 +65,16 @@ {{else}} {{> definition definitions.[0]}} {{/if}} + {{else if merged}} + {{#if definitions.[1]}} +
    + {{#each definitions}} +
  1. {{> definition}}
  2. + {{/each}} +
+ {{else}} + {{> definition definitions.[0]}} + {{/if}} {{else}} {{> definition}} {{/if}} @@ -74,7 +89,7 @@ {{#if definitions}} {{#each definitions}} {{#unless @first}}
{{/unless}} -{{> term debug=../debug grouped=../grouped addable=../addable playback=../playback}} +{{> term debug=../debug grouped=../grouped merged=../merged addable=../addable playback=../playback}} {{/each}} {{else}}

No results found.

-- cgit v1.2.3