From b4f367e7e1e48ce09918a60367d8645d6cf2e5b0 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 10 Dec 2024 14:27:27 +0100 Subject: [PATCH] Handle errors on lookup / display error message --- application/views/satellite/passtable.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/views/satellite/passtable.php b/application/views/satellite/passtable.php index f3df2517e..d4e9d33d7 100644 --- a/application/views/satellite/passtable.php +++ b/application/views/satellite/passtable.php @@ -1,5 +1,5 @@ ' . __("Satellite") . ' @@ -25,6 +25,11 @@ if ($filtered) { echo ''; } echo ''; +} else { + echo '
'; + echo '

'.__('Search failed!').'

'; + echo '

'.__('No passes found. Please check the input parameters.').'

'; + echo '
'; } function returntimediff($start, $end, $format) {