From 7c922ecd25d6405ea7228f2e96d2a758ae8c323d Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Mon, 24 Oct 2022 18:41:56 +0300 Subject: [PATCH] rename focus field --- templates/Japanese sentences/Production/front.html | 2 +- templates/Japanese sentences/Recognition/front.html | 8 ++++---- templates/Japanese sentences/template.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/Japanese sentences/Production/front.html b/templates/Japanese sentences/Production/front.html index 1a09792..dd8e565 100644 --- a/templates/Japanese sentences/Production/front.html +++ b/templates/Japanese sentences/Production/front.html @@ -22,7 +22,7 @@ function splitTagDiv() { const header = document.querySelector("header"); if (!header) return; - const split = `{{MorphManFocus}} {{Tags}}`.split(' '); + const split = `{{Focus}} {{Tags}}`.split(' '); header.innerHTML = ""; diff --git a/templates/Japanese sentences/Recognition/front.html b/templates/Japanese sentences/Recognition/front.html index 2b9ab94..f6be5eb 100644 --- a/templates/Japanese sentences/Recognition/front.html +++ b/templates/Japanese sentences/Recognition/front.html @@ -5,9 +5,9 @@ Thu Oct 20 02:37:35 PM UTC 2022
- {{#MorphManFocus}} -
{{MorphManFocus}}
- {{/MorphManFocus}} + {{#Focus}} +
{{Focus}}
+ {{/Focus}} {{#Tags}}
{{Tags}}
{{/Tags}} @@ -93,7 +93,7 @@ Thu Oct 20 02:37:35 PM UTC 2022 function splitTagDiv() { const header = document.querySelector("header"); if (!header) return; - const split = `{{MorphManFocus}} {{Tags}}`.split(" "); + const split = `{{Focus}} {{Tags}}`.split(" "); header.innerHTML = ""; diff --git a/templates/Japanese sentences/template.json b/templates/Japanese sentences/template.json index 0f65d83..dd32e47 100644 --- a/templates/Japanese sentences/template.json +++ b/templates/Japanese sentences/template.json @@ -5,7 +5,6 @@ "SentFurigana", "SentEng", "SentAudio", - "MorphManFocus", "VocabKanji", "VocabFurigana", "VocabPitchPattern", @@ -14,7 +13,8 @@ "VocabAudio", "Image", "Notes", - "MakeProductionCard" + "MakeProductionCard", + "Focus" ], "cardTemplates": [ "Recognition",