2021-12-27 18:48:38 +02:00
|
|
|
extend templates/layout.pug
|
|
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
.container
|
|
|
|
|
.center
|
2022-01-05 03:04:43 +02:00
|
|
|
h1 Add Artifact to Project
|
2021-12-27 18:48:38 +02:00
|
|
|
|
|
|
|
|
table
|
|
|
|
|
thead
|
|
|
|
|
tr
|
|
|
|
|
th Name
|
|
|
|
|
th Version
|
|
|
|
|
th
|
|
|
|
|
tbody
|
2022-01-07 00:28:07 +02:00
|
|
|
each artifact in artifacts
|
2021-12-27 18:48:38 +02:00
|
|
|
tr
|
2022-01-05 03:04:43 +02:00
|
|
|
td= artifact.name
|
|
|
|
|
td= artifact.artifactVersions[0].tag
|
2021-12-27 18:48:38 +02:00
|
|
|
td
|
2022-01-05 03:04:43 +02:00
|
|
|
form(action=`/projects/${project.id}/add-artifact`, method="post")
|
|
|
|
|
input(type="hidden", name="artifactVersionId", value=artifact.artifactVersions[0].id)
|
2021-12-27 18:48:38 +02:00
|
|
|
button.btn.black(type="submit") add to project
|