Remove some fields from edit even reg page.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Dec 2017 14:10:12 +0000 (09:10 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Dec 2017 14:11:33 +0000 (09:11 -0500)
Removing these fields:
"Multiple Attendees per Submission"
"Maximum # of Attendees"

views/admin/registrations/eventEdit.html

index d4baf82..16f2bac 100644 (file)
@@ -7,18 +7,15 @@
         {if $regEventAdded}<span class="glm-notice glm-flash-updated">Registration Event Added</span>{/if}
     </h1>
 
-       <a href="{$thisUrl}?page={$thisPage}&option=dashboard&regEventID={$regEventID}"
-       class="button button-secondary glm-button glm-right">Return to Dashboard</a>
-
     <p class="glm-required">(Items in red are required)</p>
-       
+
     <form action="{$thisUrl}?page={$thisPage}" method="post" id="regEventForm">
-           <input type="hidden" name="glm_action" value="events">
-           <input type="hidden" name="option" value="update">
-           <input type="hidden" name="regEventID" value="{$regEventID}">
+        <input type="hidden" name="glm_action" value="events">
+        <input type="hidden" name="option" value="update">
+        <input type="hidden" name="regEventID" value="{$regEventID}">
 
         <table id="glm-table-settings" class="glm-registrations-table">
-    
+
             <tr>
                 <th class="glm-nowrap-left-align">Event Name</th>
                 <td>
@@ -36,7 +33,7 @@
                 <th {if $regEvent.fieldRequired.notify_email}class="glm-required-nowrap-left-align"{else}class="glm-nowrap-left-align"{/if}>Notify E-Mail Address:</th>
                 <td {if $regEvent.fieldFail.notify_email}class="glm-form-bad-input" data-tabid="glm-notify_email"{/if}>
                     <input type="text" name="notify_email" value="{$regEvent.fieldData.notify_email}" class="glm-form-text-input-medium">
-                    <br>You may enter up to 5 E-Mail addresses separated by commas. Administrative notifications will go out to all of those addresses. 
+                    <br>You may enter up to 5 E-Mail addresses separated by commas. Administrative notifications will go out to all of those addresses.
                 {if $regEvent.fieldFail.notify_email}<p>{$regEvent.fieldFail.notify_email}</p>{/if}<br>
                 </td>
             </tr>
                 {if $regEvent.fieldFail.active}<p>{$regEvent.fieldFail.active}</p>{/if}<br>
                 </td>
             </tr>
-            <tr>
-                <th {if $regEvent.fieldRequired.attendees}class="glm-required-nowrap-left-align"{else}class="glm-nowrap-left-align"{/if}>Multiple Attendees per Submission:</th>
-                <td {if $regEvent.fieldFail.attendees}class="glm-form-bad-input" data-tabid="glm-attendees"{/if}>
-                    <input type="checkbox" name="active" {if $regEvent.fieldData.attendees.value} checked{/if}>
-                {if $regEvent.fieldFail.attendees}<p>{$regEvent.fieldFail.attendees}</p>{/if}<br>
-                </td>
-            </tr>
-            <tr>
-                <th {if $regEvent.fieldRequired.attendee_max}class="glm-required-nowrap-left-align"{else}class="glm-nowrap-left-align"{/if}>Maximum # of Attendees:</th>
-                <td {if $regEvent.fieldFail.attendee_max}class="glm-form-bad-input" data-tabid="glm-attendee_max"{/if}>
-                    Set to 0 to permit an unlimited number of attendees for this event.<br>
-                    <input type="text" name="attendee_max" value="{$regEvent.fieldData.attendee_max}" class="glm-form-text-input-medium">
-                {if $regEvent.fieldFail.attendee_max}<p>{$regEvent.fieldFail.attendee_max}</p>{/if}<br>
-                </td>
-            </tr>
             <tr>
                 <th {if $regEvent.fieldRequired.attendee_max_per_reg}class="glm-required-nowrap-left-align"{else}class="glm-nowrap-left-align"{/if}>Maximum # of Attendees Per Submission:</th>
                 <td {if $regEvent.fieldFail.attendee_max_per_reg}class="glm-form-bad-input" data-tabid="glm-attendee_max_per_reg"{/if}>
@@ -89,7 +71,7 @@
                 <th {if $regEvent.fieldRequired.reg_hold_minutes}class="glm-required-nowrap-left-align"{else}class="glm-nowrap-left-align"{/if}>Attendees Hold Time (minutes):</th>
                 <td {if $regEvent.fieldFail.reg_hold_minutes}class="glm-form-bad-input" data-tabid="glm-reg_hold_minutes"{/if}>
                     When an attendee is added to a registration request, the system will hold that attendee "slot" for this number of minutes
-                    before releasing it for others to register. After the attendee slot is released, the slot will be requested again each 
+                    before releasing it for others to register. After the attendee slot is released, the slot will be requested again each
                     time the selection, cart, or checkout pages are loaded. If there is a slot available at that time, it will again be held
                     for this amount of time.<br>
                     <input type="text" name="reg_hold_minutes" value="{$regEvent.fieldData.reg_hold_minutes}" class="glm-form-text-input-medium">
                 <td {if $regEvent.fieldFail.cart_hold_days}class="glm-form-bad-input" data-tabid="glm-cart_hold_days"{/if}>
                     If the user has registrations entered but has not yet checked out, their "cart" will be maintained for this number of days.
                     After that time, the card will be deleted. If a user has established a registrations account (entered registrations or
-                    have been registered before, the user will be able log in and continue with the cart up to this number of days.<br> 
+                    have been registered before, the user will be able log in and continue with the cart up to this number of days.<br>
                     <input type="text" name="cart_hold_days" value="{$regEvent.fieldData.cart_hold_days}" class="glm-form-text-input-medium">
                 {if $regEvent.fieldFail.cart_hold_days}<p>{$regEvent.fieldFail.cart_hold_days}</p>{/if}<br>
                 </td>
                 </td>
             </tr>
         </table>
-        
-        
+
+
         <p><input id="updateRegEvent" type="submit" value="Update This Event"></p>
-        
+
     </form>
 </div>
 
 <script type="text/javascript">
-       jQuery(document).ready(function($) {
-       
-               // Flash certain elements for a short time after display
+    jQuery(document).ready(function($) {
+
+        // Flash certain elements for a short time after display
         $(".glm-flash-updated").fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500);
-               
-       });
+
+    });
 </script>
 
 {include file='admin/footer.html'}