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

22 lines
989 B
Plaintext

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
tr
td #{translationArtifactVersion.artifactVersion.artifact.name} - #{translationArtifactVersion.name}
td= translationArtifactVersion.artifactVersion.tag
td
form(action=`/projects/${project.id}/add-translation`, method="post")
input(type="hidden", name="translationArtifactVersionId", value=translationArtifactVersion.id)
button.btn.black(type="submit") add to project