X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8fd7d319b7ef6ee4d4f8cf3b61eb47903e7fb1eb..fbc5ba13f8a28f8e5fc83675823efbaeea6dcb70:/lib/template/search-html.php
diff --git a/lib/template/search-html.php b/lib/template/search-html.php
index b270e02f..02c8cb4d 100644
--- a/lib/template/search-html.php
+++ b/lib/template/search-html.php
@@ -204,6 +204,8 @@ target="_blank">FAQ
echo ' '.$aResult['place_id'].'';
if (isset($aResult['label']))
echo ' ('.$aResult['label'].')';
+ else if ($aResult['type'] == 'yes')
+ echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')';
else
echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')';
echo ' (details)';