Updating the registrant list.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Jun 2018 18:15:29 +0000 (14:15 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Jun 2018 18:15:29 +0000 (14:15 -0400)
Using the terms for Registrants and event name.
Output in plain div comma separated.

views/front/registrations/registration.html

index 181aa89..b1b4bf6 100644 (file)
     </div>
   {if $registrantsList}
     <div>
-        <h3>Currrent List of Registrants for This Event</h3>
-        <div style="overflow-y: scroll; height:200px; width: 50%; border: 1px black solid; margin-bottom: 5px; padding: 5px;">  
+        <h3>Currrent List of {$terms.reg_term_attendee_plur_cap} for This {$terms.reg_term_event_cap}</h3>
+        <div style="margin-bottom: 5px; padding: 5px;">
     {foreach $registrantsList as $registrantAttending}
        {if !$registrantAttending.not_attending.value && $registrantAttending.request_status_name == "Complete"}
-            {$registrantAttending.fname} {$registrantAttending.fname}<br>
+            {$registrantAttending.fname} {$registrantAttending.lname}{if !$registrantAttending@last}, {/if}
        {/if}
     {/foreach}
         </div>