Show entity names
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = function (options) {
|
||||
association: db.Pledge.Owner,
|
||||
include: [
|
||||
{
|
||||
association: db.Owner.OwnerEntity,
|
||||
association: db.Owner.OwnerEntities,
|
||||
include: [
|
||||
{
|
||||
association: db.OwnerEntity.Entity
|
||||
|
||||
@@ -10,7 +10,11 @@ block content
|
||||
h1 #{totalSatoshis} sats Pledge
|
||||
|
||||
p.flow-text
|
||||
small #{pledge.owner.ownerEntity.entity.name}
|
||||
each ownerEntity, index in pledge.owner.ownerEntities
|
||||
small
|
||||
if index > 0
|
||||
span and
|
||||
span #{ownerEntity.entity.name}
|
||||
br
|
||||
span= pledge.message
|
||||
|
||||
|
||||
@@ -13,7 +13,10 @@ block content
|
||||
p.flow-text
|
||||
a(href=`/pledges/${pledge.id}`) #{totalSatoshis} sats for #{pledge.translationArtifactVersionPledges.length} translations
|
||||
br
|
||||
small
|
||||
small.chip= pledge.owner.ownerEntity.entity.name
|
||||
each ownerEntity, index in pledge.owner.ownerEntities
|
||||
small
|
||||
if index > 0
|
||||
span and
|
||||
span.chip #{ownerEntity.entity.name}
|
||||
br
|
||||
small= pledge.message
|
||||
Reference in New Issue
Block a user