Bugfix: Show empty room
This commit is contained in:
parent
3611556228
commit
e80863fbaf
4 changed files with 244 additions and 15 deletions
|
|
@ -206,6 +206,10 @@ class TourController extends Controller
|
|||
";
|
||||
|
||||
$rooms=DB::select($sql);
|
||||
|
||||
Log::info("TourController.fetch_rooms, returning rooms result:");
|
||||
Log::info($rooms);
|
||||
|
||||
return($rooms);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -90,17 +90,17 @@
|
|||
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
<!-- Intentional Asignment ! -->
|
||||
@if( $room_display_name="-" ) @endif
|
||||
<!-- Intentional Assignment ! -->
|
||||
@if ($room_id="") @endif
|
||||
@foreach($rooms as $room)
|
||||
@if ($room_display_name != $room->room_name)
|
||||
@if(strlen($room_display_name))
|
||||
@if ($room_id != $room->room_id)
|
||||
@if(strlen($room_id))
|
||||
<hr/>
|
||||
@endif
|
||||
<ul><b>{{$room->room_name}}</b></ul>
|
||||
<ul><b>[{{$room->room_id}}] {{$room->room_name}}</b></ul>
|
||||
|
||||
<!-- Intentional Asignment ! -->
|
||||
@if ($room_display_name=$room->room_name) @endif
|
||||
<!-- Intentional Assignment ! -->
|
||||
@if ($room_id=$room->room_id) @endif
|
||||
@endif
|
||||
|
||||
@if(strlen($room->user_name))
|
||||
|
|
|
|||
|
|
@ -108,17 +108,17 @@
|
|||
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
<!-- Intentional Asignment ! -->
|
||||
@if ($room_display_name="") @endif
|
||||
<!-- Intentional Assignment ! -->
|
||||
@if ($room_id="") @endif
|
||||
@foreach($rooms as $room)
|
||||
@if ($room_display_name != $room->room_name)
|
||||
@if(strlen($room_display_name))
|
||||
@if ($room_id != $room->room_id)
|
||||
@if(strlen($room_id))
|
||||
<hr/>
|
||||
@endif
|
||||
<ul><b>{{$room->room_name}}</b></ul>
|
||||
<ul><b>[{{$room->room_id}}] {{$room->room_name}}</b></ul>
|
||||
|
||||
<!-- Intentional Asignment ! -->
|
||||
@if ($room_display_name=$room->room_name) @endif
|
||||
<!-- Intentional Assignment ! -->
|
||||
@if ($room_id=$room->room_id) @endif
|
||||
@endif
|
||||
|
||||
@if(strlen($room->user_name))
|
||||
|
|
|
|||
225
tools/motorradig_2022-06-14_091034.sql
Normal file
225
tools/motorradig_2022-06-14_091034.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue