From: Steve Sutton Date: Mon, 9 Oct 2017 15:50:52 +0000 (-0400) Subject: Update time for the event X-Git-Tag: v1.0.0^2~366 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9c8dc857152b3e00d626ee27f9498c03132715b1;p=WP-Plugins%2Fglm-member-db-registrations.git Update time for the event If not time specific then get the reg_time. --- 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 %>