From 6bf59085726599d08ca82d0b02bca386cb19c2e7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 13 Mar 2017 14:48:24 -0400 Subject: [PATCH] adding conditional to check if there are any search results, if not, display no results found --- views/front/obits/searchResults.html | 7 +++++++ 1 file changed, 7 insertions(+) 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} -- 2.17.1