latest update

This commit is contained in:
ghassan committed 2026-04-05 03:30:22 +03:00
1 parent 64eadfaf56
commit 2a562b99f1
25 files changed
+2617 -2337

No files matched your search

+3 -3
View File
@@ -509,7 +509,7 @@
<span>Trending</span>
</a>
<a href="{{ auth()->check() ? route('videos.create') : route('login') }}" class="yt-bottom-nav-item {{ request()->routeIs('videos.create') ? 'active' : '' }}">
<i class="bi bi-play-circle-fill"></i>
<i class="bi bi-plus-circle-fill"></i>
<span>Upload</span>
</a>
<a href="{{ route('history') }}" class="yt-bottom-nav-item {{ request()->routeIs('history') ? 'active' : '' }}">
@@ -687,8 +687,8 @@
if (modal) {
modal.hide();
}
// Reload the page
window.location.reload();
// Redirect to videos index
window.location.href = "{{ route('videos.index') }}";
} else if (response.status === 403) {
alert('You do not have permission to delete this video.');
} else if (response.status === 404) {