From: Steve Sutton Date: Fri, 5 Jan 2018 21:54:28 +0000 (-0500) Subject: Working on the edit part for attendees X-Git-Tag: v1.0.0^2~79 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=95e90b17edcd05da7d42235296f83b42cfe6ea3a;p=WP-Plugins%2Fglm-member-db-registrations.git Working on the edit part for attendees Redoing the attendee list. Start for attendee edit form. --- diff --git a/views/admin/registrations/eventRegistrants.html b/views/admin/registrations/eventRegistrants.html index af9b1a5..58abe0f 100644 --- a/views/admin/registrations/eventRegistrants.html +++ b/views/admin/registrations/eventRegistrants.html @@ -4,6 +4,21 @@ {if $errorMsg}

{$errorMsg}

{/if} +

{$terms.reg_term_attendee_plur_cap} List

Export {$terms.reg_term_attendee_plur}
@@ -43,51 +58,65 @@ + - - - - - {if apply_filters('glm-members-customfields-plugin-active', false)} - - {/if} + {if $haveRegistrants} {foreach $registrants as $r} - - - - - - + + + - - {if apply_filters('glm-members-customfields-plugin-active', false)} - - {/if} + + + + - {if apply_filters('glm-members-customfields-plugin-active', false)} - - - - {/if} {/foreach} {else} @@ -194,10 +223,21 @@ jQuery(document).ready(function($){ $(this).prop('checked', false); }); }); - $('.glm-view-fields').click(function(e){ + $('.glm-edit').click(function(e){ + e.preventDefault(); + $('.glm-edit-form-' + $(this).data('registrant')).show(); + $('.glm-attendee-' + $(this).data('registrant')).hide(); + }); + $('.glm-cancel').click(function(e){ + e.preventDefault(); + $('.glm-edit-form-' + $(this).data('registrant')).hide(); + $('.glm-attendee-' + $(this).data('registrant')).show(); + }); + $('.glm-account').click(function(e){ + e.preventDefault(); + }); + $('.glm-detail').click(function(e){ e.preventDefault(); - var field_id = $(this).data('id'); - $( field_id ).toggle(); }); });
NameCityStatePhone Level Date/Time Rate Status  
{$r.fname} {$r.lname}{$r.account.city}{$r.account.state.value}{$r.account.phone}
+ + {$r.fname} {$r.lname} + + + Edit {$terms.reg_term_attendee_cap} | + + + View Request | + + + View Account | + + + View Full Details + + {$r.class_name} {$r.event_time_reformatted} {$r.rate_name} {$r.request_status_name}RequestAdditional Fields
(no registrants listed)