Minor view changes for registrations admin areas.
authorChuck Scott <cscott@gaslightmedia.com>
Wed, 3 Jan 2018 19:00:35 +0000 (14:00 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Wed, 3 Jan 2018 19:00:35 +0000 (14:00 -0500)
Updated notice text returned by filter to event when editing event page.
Updated reg event dashboard to more specifically show how to manage inventory.
Added explanatory text to top of regueistrations requessts page.

setup/adminHooks.php
views/admin/registrations/eventDashboard.html
views/admin/registrations/requestsDashboard.html

index 5c82737..d562775 100644 (file)
@@ -72,8 +72,8 @@ add_filter(
                     'title' => 'Registrations',
                     'url' => GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE."registrations-events&option=eventDashboard&regEventID=".$regEvent['id'],
                     'warning_title' => 'Registration Dashboard for this Event',
-                    'edit_warning' => 'This event is setup for registrations!<br>If you modify dates or schedules for this event, you must check registrations afterwards.',
-                    'update_warning' => 'You updated an event that is setup for registrations.<br>If you modified any dates or schedules you must check registrations.'
+                    'edit_warning' => '',
+                    'update_warning' => ''
                 );
 
             }
index e9a086b..17b953e 100644 (file)
     <p>Event occurs every day from first day to last day at the times shown.</p>
     <table>
       {foreach $regEvent.reg_time as $rt}
-       {if $rt.non_time_specific.value}
+      {if !$regEvent.time_specific.value && $rt.non_time_specific.value}
+        <tr><th colpsan="2" style="white-space: nowrap;"><h3>Edit attendee availability here for this event.</h3></th></tr>
         {if $rt.attendee_max == 0}
         <tr><th colspan="2">Unlimited registration - Set maximum attendees quantity below to limit registrations.</th></tr>
         {/if}
-        <tr><td colspan="2">&nbsp;</td></tr>
         <tr><td colspan="2">Limited availability for this event - the below numbers are for all days.</td></tr>
         <tr><th style="text-align: left">Maximum Attendees:</th><td>
             <input class="glm-form-text-input-veryshort availabilityInput" type="text" id="maxAtt" value="{$rt.attendee_max}">
        {/if}
       {/foreach}
     </table>
+   {if $regEvent.time_specific.value}
+    <h3>Edit attendee availability for a specific date/time by clicking event time in the calendar below.</h3>
     <p>Availability guide: (limit)-(registered)-(pending)-(available)</p>
+   {/if}
     <table id="glm-table-calendar" class="glm-admin-table glm-event-table">
         <tr>
             <td>
         <tr id="dialogRegLine"><th style="text-align: left">Registered Attendees:</th><td id="dialogRegAtt"></td></tr>
         <tr id="dialogPendLine"><th style="text-align: left">Pending in Carts:</th><td id="dialogPendAtt"></td></tr>
         <tr id="dialogAvailLine"><th style="text-align: left">Available for Registration:</th><td id="dialogAvailAtt"></td></tr>
+  {else}
+        <tr><th style="text-align: left" colspan="2">Use form above calendar to adjust attendee availability.</td></tr>
   {/if}  
         <tr><td style="text-align: right">
             <div id="dialogAvailSubmit" class="button-primary" data-timeid="">Upate</div>
index 06b8521..08bf0ec 100644 (file)
@@ -5,6 +5,10 @@
 {/if}
     
 <h1>Registrations Requests List</h1>
+<p>
+    This is a list of pending and submitted registration requests (carts).<br>
+    The name, organization, and other information are for the person sumbiting the request. Pending requests may not have this data.
+<p>
 
 <div class="glm-admin-table-inner glm-admin-table">