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