From 8926eeab4501724ce4627ae9cff97963f2bd2b72 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 3 May 2016 22:07:05 -0700 Subject: WIP --- util/tmpl/kanji.html | 7 +++++-- util/tmpl/term.html | 14 +++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'util') diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html index e74fb5ae..7f797c4b 100644 --- a/util/tmpl/kanji.html +++ b/util/tmpl/kanji.html @@ -1,9 +1,12 @@
{{#with addable}} - {{#if kanji}}{{/if}} + {{#if kanji}} + + {{else}} + + {{/if}} {{/with}} -
{{character}}
diff --git a/util/tmpl/term.html b/util/tmpl/term.html index f31d9da0..3d3d4eb0 100644 --- a/util/tmpl/term.html +++ b/util/tmpl/term.html @@ -1,10 +1,18 @@
{{#with addable}} - {{#if vocabExp}}{{/if}} - {{#if vocabReading}}{{/if}} + {{#if vocabExp}} + + {{else}} + + {{/if}} + + {{#if vocabReading}} + + {{else}} + + {{/if}} {{/with}} -
{{#if reading}} -- cgit v1.2.3