2021-12-27 18:48:38 +02:00
|
|
|
extend templates/layout.pug
|
|
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
.container
|
|
|
|
|
.center
|
|
|
|
|
h1= project.name
|
|
|
|
|
|
|
|
|
|
p.flow-text= project.description
|
|
|
|
|
|
2021-12-27 20:59:55 +02:00
|
|
|
.row
|
|
|
|
|
.col.s12
|
|
|
|
|
a.btn.black(href=`/projects/${project.id}/campaign`) funding campaign
|
2022-01-04 01:52:32 +02:00
|
|
|
.row
|
|
|
|
|
.col.s12
|
|
|
|
|
form(action=`/projects/${project.id}/spreadsheet`, method="post")
|
|
|
|
|
button.btn.black(type="submit") export to spreadsheets
|
|
|
|
|
|
2021-12-27 18:48:38 +02:00
|
|
|
.divider
|
|
|
|
|
h2 Entries
|
2022-01-05 03:04:43 +02:00
|
|
|
each projectArtifactVersion in project.projectArtifactVersions
|
|
|
|
|
p.flow-text= projectArtifactVersion.artifactVersion.artifact.name
|
2021-12-27 18:48:38 +02:00
|
|
|
.row
|
|
|
|
|
.col.s12
|
2022-01-05 03:04:43 +02:00
|
|
|
a.btn.black(href=`/projects/${project.id}/add-artifact`) add from library
|
2021-12-27 18:48:38 +02:00
|
|
|
.divider
|
|
|
|
|
h2 Translation
|
2022-01-05 03:04:43 +02:00
|
|
|
each projectTranslationArtifactVersion in project.projectTranslationArtifactVersions
|
|
|
|
|
p.flow-text #{projectTranslationArtifactVersion.translationArtifactVersion.name} - #{projectTranslationArtifactVersion.translationArtifactVersion.artifactVersion.artifact.name}
|
2021-12-27 18:48:38 +02:00
|
|
|
.row
|
|
|
|
|
.col.s12
|
|
|
|
|
a.btn.black(href=`/projects/${project.id}/add-translation`) add translation
|
2022-01-05 03:04:43 +02:00
|
|
|
//- TODO: Show project translation artifact versions
|
|
|
|
|
//- TODO: Show project artifact versions
|