From: Steve Sutton Date: Mon, 9 Oct 2017 16:09:12 +0000 (-0400) Subject: Update for the rTime X-Git-Tag: v1.0.0^2~364 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=a58578573105d3fd81f912f9cbb5a156f0e22155;p=WP-Plugins%2Fglm-member-db-registrations.git Update for the rTime Loop through this as array. --- diff --git a/views/front/registrations/registration.html b/views/front/registrations/registration.html index e8f1b2e..287a0f4 100644 --- a/views/front/registrations/registration.html +++ b/views/front/registrations/registration.html @@ -64,10 +64,12 @@

<%= descr %>

<% if ( !time_specific ) { %>

Attend any time during event

+ <% _.each(reg_time, function(rTime){ %>

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

+ <% }); %> <% } else { %> <% } %>