diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index c533718..67ba191 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -6,7 +6,21 @@
@if($checkin->note) - {!! $checkin->note !!} + @if(preg_match("/\[\[[^]]+\]\]/", $checkin->note, $filepath) + @if(preg_match("/\.webm/", $filepath) + + @elseif(preg_match("/\.ogg/", $filepath) + + @endif + @else + {!! $checkin->note !!} + @endif @endif @if($checkin->image_url)