From 9c8dc857152b3e00d626ee27f9498c03132715b1 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 9 Oct 2017 11:50:52 -0400 Subject: [PATCH] Update time for the event If not time specific then get the reg_time. --- views/front/registrations/registration.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/views/front/registrations/registration.html b/views/front/registrations/registration.html index fb8e8b0..e8f1b2e 100644 --- a/views/front/registrations/registration.html +++ b/views/front/registrations/registration.html @@ -64,12 +64,11 @@

<%= descr %>

<% if ( !time_specific ) { %>

Attend any time during event

- <% } else { %> - <% _.each(reg_time, function(rTime) { %>

- Maximum Registrants: <%= rTime.attendee_max %>
- Currently Available: <%= rTime.attendees_available %> - <% }); %> + Maximum Registrants: <%= attendee_max %>
+ Currently Available: <%= attendees_available %> +

+ <% } else { %> <% } %>

<%= terms %>

-- 2.17.1