Add projects to the system
This commit is contained in:
22
server/views/project-add-translation.pug
Normal file
22
server/views/project-add-translation.pug
Normal 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
|
||||
Reference in New Issue
Block a user