Show chapters on translations
This commit is contained in:
@@ -168,6 +168,9 @@ module.exports = function (options) {
|
||||
include: [
|
||||
{
|
||||
association: db.ArtifactVersion.Artifact
|
||||
},
|
||||
{
|
||||
association: db.ArtifactVersion.Chapters
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -33,3 +33,8 @@ block content
|
||||
.col.s12
|
||||
a.btn.black(href=`/translate/${translationArtifactVersion.id}/pledges`) pledge
|
||||
//- TODO: Give summary of chapters...
|
||||
|
||||
h2 Chapters
|
||||
each chapter in translationArtifactVersion.artifactVersion.chapters
|
||||
p.flow-text
|
||||
a(href=`/translate/${translationArtifactVersion.id}/chapter/${chapter.id}`)= chapter.name
|
||||
Reference in New Issue
Block a user