Add projects to the system

This commit is contained in:
2021-12-27 18:48:38 +02:00
parent d8bf6dcafb
commit d590ae0179
9 changed files with 389 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
extend templates/layout.pug
block content
.container
.center
h1 Add Translation to #{project.name}
table
thead
tr
th Name
th Version
th
tbody
each translationEntryVersion in translationEntryVersions
tr
td #{translationEntryVersion.entryVersion.entry.name} - #{translationEntryVersion.name}
td= translationEntryVersion.entryVersion.tag
td
form(action=`/projects/${project.id}/add-translation`, method="post")
input(type="hidden", name="translationEntryVersionId", value=translationEntryVersion.id)
button.btn.black(type="submit") add to project