diff --git a/resources/views/admin/audit-logs.blade.php b/resources/views/admin/audit-logs.blade.php index 10e11ed..e67570f 100644 --- a/resources/views/admin/audit-logs.blade.php +++ b/resources/views/admin/audit-logs.blade.php @@ -351,24 +351,40 @@ Showing {{ $logs->firstItem() }}–{{ $logs->lastItem() }} of {{ $logs->total() }} events diff --git a/resources/views/admin/videos.blade.php b/resources/views/admin/videos.blade.php index 25c7cc5..f0134c2 100644 --- a/resources/views/admin/videos.blade.php +++ b/resources/views/admin/videos.blade.php @@ -125,12 +125,25 @@ $adminNeedsOtp = auth()->user()->two_factor_enabled && @endif
-
+ {{-- Full title in the title attribute so the + admin can hover and read the whole thing + when the visible row ellipsizes. --}} +
{{ $video->title }}
@if($video->description) -
- {{ Str::limit($video->description, 55) }} + @php + // Descriptions are stored as sanitized rich HTML + // (see HtmlSanitizer). Blade's {{ }} would show + // the escaped tags verbatim in the admin table, + // so strip them to a plain-text preview — and + // put the full stripped text in the tooltip too. + $descPlain = trim(preg_replace('/\s+/', ' ', strip_tags((string) $video->description))); + @endphp +
+ {{ Str::limit($descPlain, 55) }}
@endif
diff --git a/resources/views/partials/pagination.blade.php b/resources/views/partials/pagination.blade.php index e457573..5570740 100644 --- a/resources/views/partials/pagination.blade.php +++ b/resources/views/partials/pagination.blade.php @@ -37,14 +37,25 @@ a.pag-item:hover { @endonce