From 15edf6d00738465923e506d4d591c2a1ee505b5c Mon Sep 17 00:00:00 2001 From: Simon Holt Date: Thu, 5 Feb 2015 12:42:38 +0100 Subject: [PATCH] Issue #560 by holt83: Added sale-not-started case in switch-statement in place2book_ticketsinfo template file, to fix bug where order button would not show under certain coinditions. --- templates/place2book_ticketsinfo.tpl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/place2book_ticketsinfo.tpl.php b/templates/place2book_ticketsinfo.tpl.php index 3696175..0cb336a 100644 --- a/templates/place2book_ticketsinfo.tpl.php +++ b/templates/place2book_ticketsinfo.tpl.php @@ -25,6 +25,9 @@ case 'closed-admission': print '
' . t('Not open for ticket sale') . '
'; break; + case 'sale-not-started': + print '
' . t('Ticket sale has not yet started for this event') . '
'; + break; case 'no-tickets-left': print '
' . t('Sold out') . '
'; break; @@ -34,4 +37,4 @@ default: print '-nothing-'; break; -} \ No newline at end of file +}