From b54329218aca75f1374302bc18f88f9c6ce66ab2 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 30 May 2024 18:22:11 +0000 Subject: [PATCH] Display time and venue link for workshops, hide ticket count if cancelled The ticket count is no longer really relevant if they didn't get the ticket (and it's confusing), and having the time is required for workshops that happen multiple times. Fixes #1702 Fixes #1700 --- templates/schedule/event_tickets.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/schedule/event_tickets.html b/templates/schedule/event_tickets.html index fc82f62ca..f686b5a2c 100644 --- a/templates/schedule/event_tickets.html +++ b/templates/schedule/event_tickets.html @@ -9,10 +9,10 @@ {% if is_draggable %} {{ octicon("grabber-24") }}{{ ticket.rank + 1 }}  {% endif %} - {{ ticket.proposal.title }} - ({{ ticket.ticket_count }} tickets) + {{ ticket.proposal.title }} on in {{ ticket.proposal.scheduled_venue.name }} + {% if ticket.state != "cancelled" %}({{ ticket.ticket_count }} tickets){% endif %} {% if ticket.state == "ticket" %} - Codes for this workshop: {{ticket.ticket_codes |replace(',', ', ') | upper}} +
Codes for this workshop: {{ticket.ticket_codes |replace(',', ', ') | upper}} {% endif %} {% if ticket.state != "cancelled" %} {{ ticket._form.cancel(class_="btn btn-primary pull-right")}}