Updating packaging to Packages. Add member to package dashboard.
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 24 Jul 2017 14:55:58 +0000 (10:55 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 24 Jul 2017 14:57:59 +0000 (10:57 -0400)
Adding the member column to the packages dashboard.
Updating the admin navigation name from Packaging to Packages.

index.php
readme.txt
setup/adminMenus.php
views/admin/dashboard/packaging.html

index 69f3fa7..c3d4d09 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Packaging
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.2.12
+ * Version: 1.2.13
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabasePackagingAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.10
+ * @version 1.2.13
  */
 
 /*
@@ -37,7 +37,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.12');
+define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.13');
 define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '1.1.6');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index b541db5..5f0f87b 100644 (file)
@@ -25,3 +25,8 @@ e.g.
 1. Activate the plugin through the 'Plugins' menu in WordPress
 
 
+== Changelog ==
+
+= 1.2.13 =
+* Update name in navigation to Packages
+* Adding the member column to the package dashboard.
index 63a5ab9..718be7e 100644 (file)
@@ -32,8 +32,8 @@
 
 add_submenu_page(
     $mainMenuSlug,                   // Parent slug
-    'Packaging',                                        // Page title
-    'Packaging',                                        // Menu Title
+    'Packages',                                        // Page title
+    'Packages',                                        // Menu Title
     'glm_members_edit_my_entity',                       // Capability required
     'glm-members-admin-menu-packaging-index',           // Menu slug
     function() {$this->controller('packaging');}
@@ -53,4 +53,4 @@ if ($this->config['loggedInUser']['contactUser']) {
 
 }
 
-*/
\ No newline at end of file
+*/
index 563089e..b778524 100644 (file)
@@ -13,6 +13,7 @@
                 <thead>
                     <tr>
                         <th>Package</th>
+                        <th>Member</th>
                         <th>Start</th>
                         <th>End</th>
                         <th>Expire</th>
         {else}
                     <a href="{$thisUrl}?page={$thisPage}&glm_action=packaging&option=edit&packageID={$p.id}">{$p.title}</a>
         {/if}
+                <td>
+                    {if $p.member.member_name}
+                    <a href="{$adminUrl}?page=glm-members-admin-menu-member&glm_action=index&member={$p.member.member_pointer}">{$p.member.member_name}</a>
+                    {/if}
+                </td>
                 </td>
                 <td>
                     {$p.start_date.date}