mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
manage cities added, edit venue images
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="flex flex-col space-y-1">
|
||||
@if($type === 'school')
|
||||
@if($type === 'school' && !$manage)
|
||||
<div>
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<x-button xs amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
{{ __('Perimeter search course date :name (100km)', ['name' => $row->name]) }}
|
||||
</x-button>
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div>
|
||||
@if($row->course_events_count < 1)
|
||||
<x-button outlined wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<x-button xs outlined wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
{{ __('Perimeter search course date :name (100km)', ['name' => $row->name]) }}
|
||||
</x-button>
|
||||
@@ -20,13 +20,21 @@
|
||||
</div>
|
||||
@endif
|
||||
<div>
|
||||
@if($type === 'bookCase')
|
||||
@if($type === 'bookCase' && !$manage)
|
||||
<div>
|
||||
<x-button amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
|
||||
<x-button xs amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
{{ __('Perimeter search bookcase :name (25km)', ['name' => $row->name]) }}
|
||||
</x-button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@can('update', $row)
|
||||
<x-button xs :href="route('city.form', ['city' => $row])">
|
||||
<i class="fa fa-thin fa-edit"></i>
|
||||
{{ __('Edit') }}
|
||||
</x-button>
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user