Add versioning
This commit is contained in:
@@ -3,8 +3,8 @@ extend templates/layout.pug
|
||||
block content
|
||||
.container
|
||||
.center
|
||||
h1= chapter.entry.translationEntries[0].name
|
||||
h2= chapter.entry.name
|
||||
h1= chapter.entryVersion.translationEntryVersions[0].name
|
||||
h2= chapter.entryVersion.entry.name
|
||||
|
||||
//- TODO: List chunks in the chapter
|
||||
.row
|
||||
@@ -12,8 +12,8 @@ block content
|
||||
table
|
||||
thead
|
||||
tr
|
||||
th #{chapter.entry.dialect.name}
|
||||
th #{chapter.entry.translationEntries[0].name}
|
||||
th #{chapter.entryVersion.entry.dialect.name}
|
||||
th #{chapter.entryVersion.translationEntryVersions[0].name}
|
||||
th
|
||||
|
||||
tbody
|
||||
@@ -33,4 +33,4 @@ block content
|
||||
else if chunk.translation
|
||||
a.btn.blue review
|
||||
else
|
||||
a.btn.black(href=`/translate/${chapter.entry.translationEntries[0].id}/chapter/${chapter.id}/t/${chunk.index}`) translate
|
||||
a.btn.black(href=`/translate/${chapter.entryVersion.translationEntryVersions[0].id}/chapter/${chapter.id}/t/${chunk.index}`) translate
|
||||
Reference in New Issue
Block a user