From 3dcb43e5757a791f211e9958408755df3fb7ec16 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Sun, 20 Aug 2017 00:02:05 +0200 Subject: [PATCH] fix detail template and add text to ticket if checked in --- src/tickets/templates/pdf/ticket.html | 3 +++ src/tickets/templates/ticket_detail.html | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tickets/templates/pdf/ticket.html b/src/tickets/templates/pdf/ticket.html index dc9f10e7..9acc9dba 100644 --- a/src/tickets/templates/pdf/ticket.html +++ b/src/tickets/templates/pdf/ticket.html @@ -25,6 +25,9 @@

Sponsor: {{ ticket.sponsor.name }}

{% endif %} +{% if ticket.checked_in %} +

This ticket has been checked in.

+{% endif %}
diff --git a/src/tickets/templates/ticket_detail.html b/src/tickets/templates/ticket_detail.html index e6ff1ed3..931cde01 100644 --- a/src/tickets/templates/ticket_detail.html +++ b/src/tickets/templates/ticket_detail.html @@ -1,8 +1,8 @@ -{% extends 'shop_base.html' %} +{% extends 'tickets_base.html' %} {% load bootstrap3 %} -{% load shop_tags %} +{% load tickets_tags %} -{% block shop_content %} +{% block tickets_content %}