diff --git a/resources/views/partials/head.blade.php b/resources/views/partials/head.blade.php index de5b464..333b6d1 100644 --- a/resources/views/partials/head.blade.php +++ b/resources/views/partials/head.blade.php @@ -10,7 +10,7 @@ - +
-

{{ $checkin->title ?? "[No title]" }}

+

{!! $checkin->title ?? "Untitled" !!}

{!! render_date_difference($checkin->date) !!}

- {{ $checkin->note ?? "[No note]" }} - @if($checkin->image_url) - - @endif + @if($checkin->note) + {!! $checkin->note !!} + @endif + @if($checkin->image_url) + + @endif
@endforeach @@ -90,8 +92,8 @@ @foreach($trip->checkins as $checkin) marker = L.marker([{{ $checkin->location->latitude }}, {{ $checkin->location->longitude }}]).addTo(map); - popupMarkup = ''; - popupMarkup += ``; + popupMarkup = ``; + popupMarkup += ``; popupMarkup += ''; marker.bindPopup(popupMarkup).openPopup();