Align chakras

This commit is contained in:
2021-12-25 02:09:04 +02:00
parent 83aa1f5cba
commit f6ef5796b1
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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