Update the check for featured to coming soon.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 13 Apr 2017 19:11:17 +0000 (15:11 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 13 Apr 2017 19:11:17 +0000 (15:11 -0400)
The name of the custom field featured was changed to Coming Soon.

glm-member-db/views/front/members/list.html

index 9873cae..b061a13 100644 (file)
@@ -38,7 +38,7 @@
                                 {$rvTypes = array()}
                                 {$rvManufacturers = array()}
                                 {$brands = array()}
-                                
+
                                 {foreach from=$categories item=v}
                                    {if $v.id|in_array:$manufacturer_ids}
                                       {$rvManufacturers[$v.id] = $v}
@@ -47,9 +47,9 @@
                                     {/if}
                                 {/foreach}
                                 <div>
-                                   
+
                                     {foreach $manufacturer_ids as $manufacturer_id}
-                                      
+
                                     {/foreach}
                                     <select name="categorySearchMultiple[]" id="rvTypes" title="Click to Select Types" multiple="multiple">
                                         {foreach $rvTypes as $item => $v}
                     <a class="glm-member-list-image-wrapper" href="{$siteBaseUrl}{$settings.canonical_member_page}/{$member.member_slug}/">
                     {/if}
 
-                    {if (apply_filters('glm_custom_fields', 'featured', $member.id) == 'Yes')}
+                    {if (apply_filters('glm_custom_fields', 'coming_soon', $member.id) == 'Yes')}
                         <div class="glm-member-list-featured-tag">
                             Coming Soon
                         </div>
            if( $(this).find('.slash-price').length != 0 ){
                $(this).find('.msrp-value').addClass('sale');
                $(this).find( $('.sale-price-value') ).insertAfter( $(this).find('.sale') ).css('display', 'block').css('float', 'right').addClass('sale-text');
-           } 
+           }
         });
 
         $('.red-hot').parent().parent().addClass('red-hot-border');