diff --git a/resources/views/backstage/concerts/index.blade.php b/resources/views/backstage/concerts/index.blade.php index 74435db..6e22e7b 100644 --- a/resources/views/backstage/concerts/index.blade.php +++ b/resources/views/backstage/concerts/index.blade.php @@ -29,29 +29,66 @@
-
- @foreach ($concerts as $concert) -
-
-
-
-
-

{{ $concert->title }}

-

{{ $concert->subtitle }}

+
+

Published

+
+ @foreach ($concerts->filter->isPublished() as $concert) +
+
+
+
+
+

{{ $concert->title }}

+

{{ $concert->subtitle }}

+
+

+ @icon('location', 'zondicon-sm text-dark-soft m-xs-r-1') + {{ $concert->venue }} – {{ $concert->city }}, {{ $concert->state }} +

+

+ @icon('calendar', 'zondicon-sm text-dark-soft m-xs-r-1') + {{ $concert->formatted_date }} @ {{ $concert->formatted_start_time }} +

+
+ -

- @icon('location', 'zondicon-sm text-dark-soft m-xs-r-1') - {{ $concert->venue }} – {{ $concert->city }}, {{ $concert->state }} -

-

- @icon('calendar', 'zondicon-sm text-dark-soft m-xs-r-1') - {{ $concert->formatted_date }} @ {{ $concert->formatted_start_time }} -

+ @endforeach +
+
+
+

Drafts

+
+ @foreach ($concerts->reject->isPublished() as $concert) +
+
+
+
+
+

{{ $concert->title }}

+

{{ $concert->subtitle }}

+
+

+ @icon('location', 'zondicon-sm text-dark-soft m-xs-r-1') + {{ $concert->venue }} – {{ $concert->city }}, {{ $concert->state }} +

+

+ @icon('calendar', 'zondicon-sm text-dark-soft m-xs-r-1') + {{ $concert->formatted_date }} @ {{ $concert->formatted_start_time }} +

+
+
+ Edit + Publish +
+
+
+
+ @endforeach
- @endforeach