From f6ef5796b1ca6567861b1e23a48e34eca077dda8 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Sat, 25 Dec 2021 02:09:04 +0200 Subject: [PATCH] Align chakras --- server/views/translate-chapter.pug | 2 +- server/views/translate-chunk.pug | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/views/translate-chapter.pug b/server/views/translate-chapter.pug index 51d0d08..6326cb2 100644 --- a/server/views/translate-chapter.pug +++ b/server/views/translate-chapter.pug @@ -31,6 +31,6 @@ block content if chunk.translated span nothing else if chunk.translation - a.btn.blue review + a.btn.blue(href=`/translate/${chapter.entryVersion.translationEntryVersions[0].id}/chapter/${chapter.id}/t/${chunk.index}`) review else a.btn.black(href=`/translate/${chapter.entryVersion.translationEntryVersions[0].id}/chapter/${chapter.id}/t/${chunk.index}`) translate \ No newline at end of file diff --git a/server/views/translate-chunk.pug b/server/views/translate-chunk.pug index d59fcc1..214feef 100644 --- a/server/views/translate-chunk.pug +++ b/server/views/translate-chunk.pug @@ -11,7 +11,7 @@ block content textarea#original-text.materialize-textarea(name="originalText", readonly)= chunk.text label(for="original-text") Original Text .col.s12.m6.input-field - textarea#translated-text.materialize-textarea(name="translatedText", placeholder=chunk.text) + textarea#translated-text.materialize-textarea(name="translatedText", placeholder=chunk.text)= chunk.translation ? chunk.translation.text : null label(for="original-text") Translated Text .col.s12 .center @@ -49,7 +49,7 @@ block content if previousChunk.translated span nothing else if previousChunk.translation - a.btn.blue review + a.btn.blue(href=`/translate/${previousChunk.chapter.entryVersion.translationEntryVersions[0].id}/chapter/${previousChunk.chapter.id}/t/${previousChunk.index}`) review else a.btn.black(href=`/translate/${previousChunk.chapter.entryVersion.translationEntryVersions[0].id}/chapter/${previousChunk.chapter.id}/t/${previousChunk.index}`) previous translation @@ -75,9 +75,9 @@ block content if nextChunk.translated span nothing else if nextChunk.translation - a.btn.blue review + a.btn.blue(href=`/translate/${nextChunk.chapter.entryVersion.translationEntryVersions[0].id}/chapter/${nextChunk.chapter.id}/t/${nextChunk.index}`) review else - a.btn.black(href=`/translate/${nextChunk.chapter.entryVersion.translationEntryVersions[0].id}/chapter/${nextChunk.chapter.id}/t/${nextChunk.index}`) next translation + a.btn.black(href=`/translate/${nextChunk.chapter.entryVersion.translationEntryVersions[0].id}/chapter/${nextChunk.chapter.id}/t/${nextChunk.index}`) next translation block additionalScripts