From 7955fc85ac089d856b44bdea78eccd26ffbd690c Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Mon, 3 Jun 2024 19:25:51 +0200 Subject: display inflection rule descriptions (#1000) * load descriptions in deinflector * description functions in deinflectors * show descriptions in title * use toaster * use names without internal * css lint * reformat transform descriptors * fix merge errors * done? * rename method --- .../anki-field-templates-upgrade-v38.handlebars | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ext/data/templates/anki-field-templates-upgrade-v38.handlebars (limited to 'ext/data/templates/anki-field-templates-upgrade-v38.handlebars') diff --git a/ext/data/templates/anki-field-templates-upgrade-v38.handlebars b/ext/data/templates/anki-field-templates-upgrade-v38.handlebars new file mode 100644 index 00000000..83b6e3ac --- /dev/null +++ b/ext/data/templates/anki-field-templates-upgrade-v38.handlebars @@ -0,0 +1,43 @@ +{{<<<<<<<}} +{{#*inline "conjugation"}} + {{~#if (op ">" definition.inflectionRuleChainCandidates.length 0)~}} + {{~set "multiple" false~}} + {{~#if (op ">" definition.inflectionRuleChainCandidates.length 1)~}} + {{~set "multiple" true~}} + {{~/if~}} + {{~#if (get "multiple")~}}{{/if~}} + {{~/if~}} +{{/inline}} +{{=======}} +{{#*inline "conjugation"}} + {{~#if (op ">" definition.inflectionRuleChainCandidates.length 0)~}} + {{~set "multiple" false~}} + {{~#if (op ">" definition.inflectionRuleChainCandidates.length 1)~}} + {{~set "multiple" true~}} + {{~/if~}} + {{~#if (get "multiple")~}}{{/if~}} + {{~/if~}} +{{/inline}} +{{>>>>>>>}} \ No newline at end of file -- cgit v1.2.3