View translations from entry

This commit is contained in:
2021-12-20 00:27:21 +02:00
parent 32a70881ba
commit 9731ed9475
2 changed files with 14 additions and 1 deletions

View File

@@ -21,4 +21,14 @@ block content
.divider
.row
a.btn.black(href=`/library/${entry.id}/translations/add`) add translation
a.btn.black(href=`/library/${entry.id}/translations/add`) add translation
if entry.translationEntries.length == 0
p.flow-text No chapters added
else
.row
each translationEntry in entry.translationEntries
.col.s12
a(href=`/library/${entry.id}/translations/${translationEntry.id}`)
.card-panel
p.flow-text= translationEntry.name