Files
mantra.press/server/views/project-add-translation.pug

22 lines
989 B
Plaintext
Raw Normal View History

2021-12-27 18:48:38 +02:00
extend templates/layout.pug
block content
.container
.center
h1 Add Translation to #{project.name}
table
thead
tr
th Name
th Version
th
tbody
each translationArtifactVersion in translationArtifactVersions
2021-12-27 18:48:38 +02:00
tr
td #{translationArtifactVersion.artifactVersion.artifact.name} - #{translationArtifactVersion.name}
td= translationArtifactVersion.artifactVersion.tag
2021-12-27 18:48:38 +02:00
td
form(action=`/projects/${project.id}/add-translation`, method="post")
input(type="hidden", name="translationArtifactVersionId", value=translationArtifactVersion.id)
2021-12-27 18:48:38 +02:00
button.btn.black(type="submit") add to project