Added no match found on live search

This commit is contained in:
2020-07-28 11:31:39 +02:00
parent 2dba1fd8f7
commit 47a07c6174
7 changed files with 43 additions and 9 deletions
@@ -171,6 +171,11 @@ class ContactController extends Controller
}else{
$output.='<tr>'.
'<td>Din søgning matchede ikke nogen personer</td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'</tr>';
}
return Response($output);
@@ -167,6 +167,14 @@ class EventController extends Controller
'</td>'.
'</tr>';
}
}else{
$output.='<tr>'.
'<td>Din søgning matchede ikke nogen personer</td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'</tr>';
}
return Response($output);
}
@@ -164,6 +164,16 @@ class MenuPlanController extends Controller
'</td>'.
'</tr>';
}
}else{
$output.='<tr>'.
'<td>Din søgning matchede ikke nogen personer</td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'</tr>';
}
return Response($output);
}
@@ -143,6 +143,13 @@ class rolesController extends Controller
'</td>'.
'</tr>';
}
}else{
$output.='<tr>'.
'<td>Din søgning matchede ikke nogen resultater</td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'</tr>';
}
return Response($output);
}
@@ -326,6 +326,16 @@ class UserController extends Controller
'</td>'.
'</tr>';
}
}else{
$output.='<tr>'.
'<td>Din søgning matchede ikke nogen personer</td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'<td></td>'.
'</tr>';
}
return Response($output);
}