From: Anthony Talarico Date: Mon, 13 Mar 2017 18:48:24 +0000 (-0400) Subject: adding conditional to check if there are any search results, if not, display X-Git-Tag: v1.0.0^2~27 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6bf59085726599d08ca82d0b02bca386cb19c2e7;p=WP-Plugins%2Fglm-member-db-obits.git adding conditional to check if there are any search results, if not, display no results found --- diff --git a/views/front/obits/searchResults.html b/views/front/obits/searchResults.html index 853a19d..8683336 100644 --- a/views/front/obits/searchResults.html +++ b/views/front/obits/searchResults.html @@ -247,6 +247,7 @@ Maiden Name + {if $obits} {foreach from=$obits item=i} {$i.b_yr_range} @@ -259,6 +260,12 @@ {$i.maiden_other} {/foreach} + {else} + + No Results + + + {/if}