Refactor: responses as ActivitesAttended

This commit is contained in:
Sallu9007
2025-03-23 16:18:07 +05:30
parent e27937c29f
commit 8c4e18e702
13 changed files with 72 additions and 72 deletions

View File

@@ -18,17 +18,17 @@
@php $role = auth()->user()->role->name; @endphp
@if ($role === 'Admin')
<a href="{{ route('admin.responses') }}"
<a href="{{ route('admin.ActivitiesAttendedResponses') }}"
class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600">
Go to Admin Responses
</a>
@elseif ($role === 'Coordinator')
<a href="{{ route('coordinator.responses') }}"
<a href="{{ route('coordinator.ActivitiesAttendedResponses') }}"
class="px-4 py-2 bg-green-500 text-white rounded hover:bg-green-600">
Go to Coordinator Responses
</a>
@elseif ($role === 'Faculty')
<a href="{{ route('faculty.response-form') }}"
<a href="{{ route('faculty.ActivitiesAttendedForm') }}"
class="px-4 py-2 bg-purple-500 text-white rounded hover:bg-purple-600">
Go to Faculty Response Form
</a>