openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
22 stars 2 forks source link

🐛(backend) certificate template do not render <img> tag if organization has no logo #832

Closed jonathanreveille closed 3 months ago

jonathanreveille commented 3 months ago

Purpose

When the organization.logo is None, a <img> tag is rendered None actually. We do not want this anymore. We should trigger a message when generating the certificate's context if an organization does not have a logo for itself.

Proposal