Added member labels to template options
no issue Being able to access a member's label from the theme template allows customizing the content based on the type of member.
This commit is contained in:
parent
9cca07ff70
commit
fb097dd69b
@ -33,6 +33,7 @@ function updateLocalTemplateOptions(req, res, next) {
|
|||||||
default_payment_card_last4: sub.default_payment_card_last4 || '****'
|
default_payment_card_last4: sub.default_payment_card_last4 || '****'
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
labels: req.member.labels,
|
||||||
paid: req.member.status !== 'free',
|
paid: req.member.status !== 'free',
|
||||||
status: req.member.status
|
status: req.member.status
|
||||||
} : null;
|
} : null;
|
||||||
|
Loading…
Reference in New Issue
Block a user