From 1eeb318d3d570d65f291ab041a009671843850aa Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 29 Apr 2019 14:31:04 -0400 Subject: [PATCH] changing some of the language in the admin of the plugin. item to new for sale item. topic to for sale or wanted. adjusting some of the styles in the list view to accommodate these changes --- setup/adminMenus.php | 8 ++++---- views/admin/forSale/edit.html | 2 +- views/admin/forSale/list.html | 18 +++++++++--------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/setup/adminMenus.php b/setup/adminMenus.php index a36caaf..231df45 100644 --- a/setup/adminMenus.php +++ b/setup/adminMenus.php @@ -52,8 +52,8 @@ if (isset($this->config['loggedInUser']) && isset($this->config['loggedInUser']['contactUser']) && $this->config['loggedInUser']['contactUser']) { add_submenu_page( $mainMenuSlug, - 'For Sale', - 'For Sale', + 'For Sale/Wanted', + 'For Sale/Wanted', 'glm_members_edit_my_entity', 'glm-members-admin-menu-for-sale-index', function(){$this->controller('forSale');} @@ -61,8 +61,8 @@ } else { add_submenu_page( 'glm-members-admin-menu-members', - 'For Sale', - 'For Sale', + 'For Sale/Wanted', + 'For Sale/Wanted', 'edit_posts', 'glm-members-admin-menu-for-sale-index', function(){$this->controller('forSale');} diff --git a/views/admin/forSale/edit.html b/views/admin/forSale/edit.html index a649168..d54c9b6 100644 --- a/views/admin/forSale/edit.html +++ b/views/admin/forSale/edit.html @@ -54,7 +54,7 @@
- Topic + For Sale or Wanted
diff --git a/views/admin/forSale/list.html b/views/admin/forSale/list.html index f7e017e..d3ac06b 100644 --- a/views/admin/forSale/list.html +++ b/views/admin/forSale/list.html @@ -31,17 +31,17 @@
{if $itemData}
Active
-
Topic
-
For-sale Item
-
Item Post Date
-
Post For
+
For Sale or Wanted
+
Item
+
Post Date
+
Post For
{foreach $itemData as $item=>$data} @@ -55,13 +55,13 @@ no {/if}
-
{$data.topic.name}
+
{$data.topic.name}
{$data.title}
-
{$data.updated.timestamp|date_format:"%Y-%m-%d"}
-
{$data.item_expiration.name}
+
{$data.updated.timestamp|date_format:"%Y-%m-%d"}
+
{$data.item_expiration.name}
-
+ -- 2.17.1