The ticket logo was config-only with no admin UI and a single site-wide value, so a tenant could not brand its own tickets and there was no menu to change it.

This makes the ticket logo a cascading, UI-configurable setting:

  • A site-wide settings form at Administration, Booking, Ticket settings, with a logo upload (managed file).
  • A per-tenant override on the tenant edit form.
  • The logo cascades tenant, then site, then the site theme logo, so a single-tenant site needs no configuration and still shows its branding.

Uploaded logos are tracked through file usage and marked temporary when replaced or cleared, so the previous file is purged rather than left on disk.

The logo is inlined into the PDF as a data URI and stays a plain logo variable in the yoyaku-ticket template.

Issue fork yoyaku-3612810

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

  • mably committed f25809e1 on 1.x
    feat: #3612810 yoyaku_ticket: cascading, UI-configurable ticket logo (...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.