+
class('content') }}>
{{ $slot }}
diff --git a/resources/views/components/modal/title.blade.php b/resources/views/components/modal/title.blade.php
index dbf1f32..c40c360 100644
--- a/resources/views/components/modal/title.blade.php
+++ b/resources/views/components/modal/title.blade.php
@@ -2,8 +2,6 @@
'border' => false,
])
-
$border])>
-
- {{ $slot }}
-
+class(['header--with-border' => $border]) }}>
+ {{ $slot }}
diff --git a/resources/views/event/partials/details.blade.php b/resources/views/event/partials/details.blade.php
index 97ebd99..59c8fbe 100644
--- a/resources/views/event/partials/details.blade.php
+++ b/resources/views/event/partials/details.blade.php
@@ -2,8 +2,7 @@
$meta = $event->meta;
$title = $meta->title ?? '(no title)';
$allDay = (bool) ($meta->all_day ?? false);
- $calendarName = $calendar->displayname ?? __('common.calendar');
- $calendarColor = $calendar->meta_color ?? $calendar->calendarcolor ?? default_calendar_color();
+ $calendarName = $calendarName ?? $calendar->displayname ?? __('common.calendar');
$rrule = $meta?->extra['rrule'] ?? null;
$tzid = $meta?->extra['tzid'] ?? $tz;
$locationLabel = $meta?->location_label ?? '';
@@ -16,16 +15,23 @@
$venue?->postal,
])));
$addressLine3 = $venue?->country;
+ $map = $map ?? ['enabled' => false, 'needs_key' => false, 'url' => null];
@endphp
-
-
-
-
- {{ $title }}
-
+
+
+
+ {{ $title }}
+ @if ($map['enabled'])
+
+ @endif
{{ __('calendar.event.when') }}
@@ -74,9 +80,6 @@
@endif
@endif
-
- {{ __('calendar.event.map_coming') }}
-
@else
{{ __('calendar.event.no_location') }}
@endif