27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
extend templates/layout.pug
|
|
|
|
block content
|
|
.container
|
|
.center
|
|
-
|
|
const totalSatoshis = pledge.translationArtifactVersionPledges.reduce((accumulator, translationArtifactVersionPledge) => {
|
|
return accumulator + translationArtifactVersionPledge.satoshis
|
|
}, 0)
|
|
h1 #{totalSatoshis} sats Pledge
|
|
|
|
p.flow-text
|
|
each ownerEntity, index in pledge.owner.ownerEntities
|
|
small
|
|
if index > 0
|
|
span and
|
|
span #{ownerEntity.entity.name}
|
|
br
|
|
span= pledge.message
|
|
|
|
p.flow-text for completion of the following translations
|
|
|
|
each translationArtifactVersionPledge in pledge.translationArtifactVersionPledges
|
|
|
|
p.flow-text #{translationArtifactVersionPledge.translationArtifactVersion.name} - #{translationArtifactVersionPledge.translationArtifactVersion.artifactVersion.artifact.name} - #{translationArtifactVersionPledge.translationArtifactVersion.artifactVersion.tag}
|
|
br
|
|
small #{translationArtifactVersionPledge.satoshis} sats |