bumping version number, adding conditional to check for specific_dates in recurrences...
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 11 Oct 2016 19:31:30 +0000 (15:31 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 11 Oct 2016 19:31:30 +0000 (15:31 -0400)
index.php
models/front/events/list.php
views/front/events/agenda.html

index cace3bb..ce4dd94 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Events
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.4.6
+ * Version: 1.4.7
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -20,7 +20,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.4.6
+ * @version 1.4.7
  */
 
 /*
@@ -38,7 +38,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.4.6');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.4.7');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.22');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 40c17c3..96fb993 100644 (file)
@@ -644,7 +644,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
         } else {
             $calendar_view = $calendar_view[0]['calendar_view'];
         }
-
+        
         // Compile template data
         $templateData = array(
             'assetsUrl'    => GLM_MEMBERS_EVENTS_PLUGIN_URL . 'assets/',
index d36f42f..ed8d67d 100644 (file)
                             <div class="row glm-event-day-event">
                                 <div class="small-12 columns">
                                         <h2 class="agenda-event-name">{$event.name}</h2>
-            
                                         <div class='date-range-container'>
-                                            ( Occurring {$event.recurrences.0.from_date.date} <span class="agenda-event-recur-dates">
+                                            ( Occurring <span class="agenda-event-recur-dates"> {$event.recurrences.0.from_date.date} 
                                               {if $event.recurrences.0.from_date.date != $event.recurrences.0.to_date.date}  
                                                 - {$event.recurrences.0.to_date.date} 
+                                               {else if $event.recurrences.0.specific_dates}
+                                                - {$event.recurrences.0.specific_dates|@end|date_format:"%m/%d/%Y"} 
                                               {/if}
                                             </span>