aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/reservations.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/pages/reservations.blade.php')
-rw-r--r--resources/views/pages/reservations.blade.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/views/pages/reservations.blade.php b/resources/views/pages/reservations.blade.php
index 9a27ee7..0d74ef3 100644
--- a/resources/views/pages/reservations.blade.php
+++ b/resources/views/pages/reservations.blade.php
@@ -5,6 +5,7 @@
@section('navbar', View::make('inc.special_navbar'))
@section('content')
+@if (count($data) > 0)
<div class="table-responsive">
<table class="table table-striped table-bordered" style="white-space:nowrap;"><!-- table-hover -->
<thead class="thead-dark">
@@ -49,4 +50,9 @@
</tbody>
</table>
</div>
+@else
+<div class="text-center">
+ <strong>There are currently no reservations.</strong>
+</div>
+@endif
@endsection()