Add translator/editors buttons
This commit is contained in:
@@ -6,6 +6,32 @@ block content
|
||||
h1= translationChapter.translationArtifactVersion.name
|
||||
h2= translationChapter.translationArtifactVersion.artifactVersion.artifact.name
|
||||
|
||||
p.flow-text
|
||||
span.chip #{translationChapter.chapter.wordCount.toLocaleString()} words
|
||||
|
||||
.row
|
||||
.col.s12.m4
|
||||
|
||||
p.flow-text
|
||||
a.btn-flat.waves-effect Translator ▼
|
||||
if translationChapter.translationChapterTranslators.length > 0
|
||||
span With #{translationChapter.translationChapterTranslators.length} translator(s) assigned
|
||||
else
|
||||
span No translators assigned yet
|
||||
.col.s12.m4
|
||||
p.flow-text
|
||||
a.btn-flat.waves-effect Editor ▼
|
||||
if translationChapter.translationArtifactVersion.translationArtifactVersionEditor
|
||||
span= translationChapter.translationArtifactVersion.translationArtifactVersionEditor.id
|
||||
else
|
||||
span No editors assigned yet
|
||||
.col.s12.m4
|
||||
p.flow-text
|
||||
a.btn-flat.waves-effect Proof Reader ▼
|
||||
if translationChapter.translationChapterProofReaders.length > 0
|
||||
span With #{translationChapter.translationChapterProofReaders.length} proof reader(s) assigned
|
||||
else
|
||||
span No proof reader assigned yet
|
||||
//- TODO: List translationChunks in the chapter
|
||||
.row
|
||||
.col.s12
|
||||
|
||||
Reference in New Issue
Block a user