Replace entry with artifact and add entity
This commit is contained in:
20
server/views/artifact.pug
Normal file
20
server/views/artifact.pug
Normal file
@@ -0,0 +1,20 @@
|
||||
extend templates/layout.pug
|
||||
|
||||
block content
|
||||
.container
|
||||
.center
|
||||
h1= artifact.name
|
||||
|
||||
.divider
|
||||
.row
|
||||
a.btn.black(href=`/library/${artifact.id}/version/add`) add version
|
||||
|
||||
if artifact.artifactVersions.length == 0
|
||||
p.flow-text No available versions
|
||||
else
|
||||
.row
|
||||
each artifactVersion in artifact.artifactVersions
|
||||
.col.s12
|
||||
a(href=`/library/${artifactVersion.artifactId}/v/${artifactVersion.id}`)
|
||||
.card-panel
|
||||
p.flow-text= artifactVersion.tag
|
||||
Reference in New Issue
Block a user