Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/livewire/online-event-card.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>

<div class="text-xs leading-5 text-gray-500 w-auto text-truncate">
{!!str_limit($event->description,200)!!}
{{ \Illuminate\Support\Str::limit($event->description, 200) }}
</div>
</div>
</div>
Expand Down
47 changes: 24 additions & 23 deletions resources/views/online-calendar/admin/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,29 @@

<div class="mb-4">

<div class="border-b border-gray-200">
<nav class="-mb-px flex">
{{-- @include('online-calendar.admin._tab', [--}}
{{-- 'targetParam'=>'online/list',--}}
{{-- 'route'=>'admin.online-events',--}}
{{--'title'=>'All Online Activities'--}}
{{--])--}}
@include('online-calendar.admin._tab', [
'targetParam'=>'online/promoted',
'route'=>'promoted_events',
'title'=>'Pending Approval Activities'
<div class="border-b border-gray-200">
<nav class="-mb-px flex">
@role('activities admin')
@include('online-calendar.admin._tab', [
'targetParam'=>'online/list',
'route'=>'admin.online-events',
'title'=>'All Online Activities'
])
@include('online-calendar.admin._tab', [
'targetParam'=>'online/featured',
'route'=>'featured_events',
'title'=>'Featured Activities'
@endrole
@include('online-calendar.admin._tab', [
'targetParam'=>'online/promoted',
'route'=>'promoted_events',
'title'=>'Pending Approval Activities'
])
@include('online-calendar.admin._tab', [
'targetParam'=>'online/featured',
'route'=>'featured_events',
'title'=>'Featured Activities'
])


</nav>
</div>
</nav>
</div>

</div>

Expand Down Expand Up @@ -72,9 +74,9 @@
<th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider">
Country
</th>
{{-- <th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-center text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider">--}}
{{-- Status--}}
{{-- </th>--}}
{{-- <th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-center text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider">--}}
{{-- Status--}}
{{-- </th>--}}
<th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-center text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider align-center">
Actions
</th>
Expand All @@ -85,8 +87,7 @@

@foreach($events as $event)

@livewire('online-event-card', ['event' => $event, 'countryName' =>
$countryNames[$event->country_iso]])
@livewire('online-event-card', ['event' => $event, 'countryName' => $countryNames[$event->country_iso]])

@endforeach

Expand All @@ -105,7 +106,7 @@
{{ $events->links() }}
</div>

<span>
</div>
@endsection