Make the "no results" text specific to result type

Rather than repeating the same text 3 times on the page if there are no
results.