mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
KEY FIX
This commit is contained in:
@@ -39,7 +39,15 @@ class SyncGithubMeetups extends Command
|
||||
'github_data' => $meetup,
|
||||
]);
|
||||
} else {
|
||||
$this->info('Missing: '.$meetup['name'] . ' Url: ' . $meetup['url']);
|
||||
$this->info('Missing: '.$meetup['name'].' Url: '.$meetup['url']);
|
||||
if (app()->environment('local')) {
|
||||
Meetup::create([
|
||||
'name' => $meetup['name'],
|
||||
'city_id' => 1,
|
||||
'created_by' => 1,
|
||||
'github_data' => $meetup,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div wire:key="bitcoin_events_action_{{ $row->id }}">
|
||||
<div>
|
||||
<a href="{{ $row->link }}" target="_blank">
|
||||
<x-badge class="whitespace-nowrap">{{ __('Link') }}</x-badge>
|
||||
</a>
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
<div class="flex flex-col space-y-1" wire:key="bookcase_action_{{ $row->id }}">
|
||||
@auth
|
||||
<div>
|
||||
@if($row->orange_pills_count > 0)
|
||||
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_plus.webp') }}" alt="">
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->orange_pills_count < 1)
|
||||
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_minus.webp') }}" alt="">
|
||||
@endif
|
||||
</div>
|
||||
<div class="flex items-center space-x-1">
|
||||
<x-button class="whitespace-nowrap" primary class="text-21gray whitespace-nowrap"
|
||||
wire:click="viewHistoryModal({{ $row->id }})">{{ __('💊 Orange Pill Now') }}</x-button>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div class="flex flex-col space-y-1" wire:key="cities_action_{{ $row->id }}">
|
||||
<div class="flex flex-col space-y-1">
|
||||
@if($type === 'school')
|
||||
<div>
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
@@ -7,6 +8,8 @@
|
||||
{{ __('Perimeter search course date :name (100km)', ['name' => $row->name]) }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->course_events_count < 1)
|
||||
<x-button outlined wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
@@ -14,7 +17,9 @@
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div>
|
||||
@if($type === 'bookCase')
|
||||
<div>
|
||||
<x-button amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
|
||||
@@ -23,4 +28,5 @@
|
||||
</x-button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div wire:key="courses_action_{{ $row->id }}">
|
||||
<div>
|
||||
<x-button amber wire:click="courseSearch({{ $row->id }})">
|
||||
{{ __('Show dates') }}
|
||||
</x-button>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<div wire:key="course_events_action_{{ $row->id }}">
|
||||
<div>
|
||||
<x-button class="whitespace-nowrap" amber wire:click="viewHistoryModal({{ $row->id }})">{{ __('Register') }}</x-button>
|
||||
</div>
|
||||
|
||||
@@ -1,32 +1,42 @@
|
||||
<div wire:key="lecturers_action_{{ $row->id }}">
|
||||
<div>
|
||||
<div>
|
||||
@if($row->courses_count > 0)
|
||||
<x-button amber wire:click="lecturerSearch({{ $row->id }})">
|
||||
<i class="fa fa-thin fa-calendar mr-2"></i>
|
||||
{{ __('Show dates') }} ({{ $row->courses_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->courses_count < 1)
|
||||
<x-button outlined wire:click="lecturerSearch({{ $row->id }})">
|
||||
<i class="fa fa-thin fa-calendar mr-2"></i>
|
||||
{{ __('Show dates') }} ({{ $row->courses_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->library_items_count > 0)
|
||||
<x-button amber wire:click="lecturerSearch({{ $row->id }}, false)">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
{{ __('Show content') }} ({{ $row->library_items_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->library_items_count < 1)
|
||||
<x-button outlined wire:click="lecturerSearch({{ $row->id }}, false)">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
{{ __('Show content') }} ({{ $row->library_items_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<x-button
|
||||
:href="route('school.landingPage.lecturer', ['country' => $country, 'lecturer' => $row->slug])"
|
||||
amber>
|
||||
<i class="fa fa-thin fa-browser mr-2"></i>
|
||||
{{ __('Show landing page') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,29 +1,38 @@
|
||||
<div class="flex flex-col space-y-1" wire:key="library_items_action_{{ $row->id }}">
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div>
|
||||
@if(str($row->value)->contains('http'))
|
||||
<x-button xs amber :href="$row->value" target="_blank">
|
||||
<i class="fa fa-thin fa-book-open mr-2"></i>
|
||||
{{ __('Open') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->type === 'downloadable_file')
|
||||
<x-button xs amber :href="$row->getFirstMediaUrl('single_file')" target="_blank">
|
||||
<i class="fa fa-thin fa-download mr-2"></i>
|
||||
{{ __('Download') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->type === 'podcast_episode')
|
||||
<x-button xs amber :href="$row->episode->data['link']" target="_blank">
|
||||
<i class="fa fa-thin fa-headphones mr-2"></i>
|
||||
{{ __('Listen') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->type === 'markdown_article')
|
||||
<x-button xs amber :href="route('article.view', [$row])">
|
||||
<i class="fa fa-thin fa-newspaper mr-2"></i>
|
||||
{{ __('Read') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@if($row->type !== 'markdown_article')
|
||||
<x-button
|
||||
x-data="{
|
||||
@@ -45,4 +54,5 @@
|
||||
{{ __('Share link') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<div class="flex flex-col space-y-1" wire:key="meetup_events_action_{{ $row->id }}">
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div>
|
||||
<x-button
|
||||
black
|
||||
xs
|
||||
@@ -7,6 +8,8 @@
|
||||
<i class="fa fa-thin fa-browser mr-2"></i>
|
||||
{{ __('Show landing page') }}
|
||||
</x-button>
|
||||
</div>
|
||||
<div>
|
||||
@if($row->meetup->telegram_link)
|
||||
<x-button
|
||||
xs
|
||||
@@ -18,6 +21,8 @@
|
||||
{{ __('Telegram-Link') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->meetup->webpage)
|
||||
<x-button
|
||||
xs
|
||||
@@ -29,6 +34,8 @@
|
||||
{{ __('Website') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->meetup->twitter_username)
|
||||
<x-button
|
||||
xs
|
||||
@@ -40,4 +47,5 @@
|
||||
{{ __('Twitter') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<div class="flex flex-col space-y-1" wire:key="meetup_action_{{ $row->id }}">
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div>
|
||||
@if($row->meetup_events_count > 0)
|
||||
<x-button
|
||||
xs
|
||||
@@ -8,6 +9,8 @@
|
||||
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->meetup_events_count < 1)
|
||||
<x-button
|
||||
xs
|
||||
@@ -17,6 +20,8 @@
|
||||
{{ __('Show dates') }} ({{ $row->meetup_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<x-button
|
||||
xs
|
||||
black
|
||||
@@ -28,6 +33,8 @@
|
||||
<i class="fa fa-thin fa-calendar-arrow-down mr-2"></i>
|
||||
{{ __('Calendar Stream-Url') }} ({{ $row->meetup_events_count }})
|
||||
</x-button>
|
||||
</div>
|
||||
<div>
|
||||
<x-button
|
||||
black
|
||||
xs
|
||||
@@ -36,6 +43,8 @@
|
||||
<i class="fa fa-thin fa-browser mr-2"></i>
|
||||
{{ __('Show landing page') }}
|
||||
</x-button>
|
||||
</div>
|
||||
<div>
|
||||
@if($row->telegram_link)
|
||||
<x-button
|
||||
xs
|
||||
@@ -47,6 +56,8 @@
|
||||
{{ __('Telegram-Link') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->webpage)
|
||||
<x-button
|
||||
xs
|
||||
@@ -58,6 +69,8 @@
|
||||
{{ __('Website') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->twitter_username)
|
||||
<x-button
|
||||
xs
|
||||
@@ -69,4 +82,5 @@
|
||||
{{ __('Twitter') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
<div wire:key="venues_action_{{ $row->id }}">
|
||||
<div>
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
<x-button amber wire:click="venueSearch({{ $row->id }})">
|
||||
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->course_events_count < 1)
|
||||
<x-button outlined wire:click="venueSearch({{ $row->id }})">
|
||||
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user