Force gold accent color on invitation tickets, change header to 'Invitation'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ ticket.reference }} - {{ event.title }}</title>
|
||||
<style>
|
||||
{% set ac = design ? design.accentColor : '#4f46e5' %}
|
||||
{% set is_inv = ticket.invitation ?? false %}
|
||||
{% set ac = is_inv ? '#d4a017' : (design ? design.accentColor : '#4f46e5') %}
|
||||
{% set inv_color = design ? design.invitationColor : '#d4a017' %}
|
||||
{% set inv_title = design ? design.invitationTitle : 'Invitation' %}
|
||||
|
||||
@@ -255,7 +256,7 @@
|
||||
<table class="header-table">
|
||||
<tr>
|
||||
<td>
|
||||
<span class="header-org">Billet Entree — {{ event.title }} — {{ ticket.billetName }}</span>
|
||||
<span class="header-org">{{ is_inv ? 'Invitation' : 'Billet Entree' }} — {{ event.title }} — {{ ticket.billetName }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user