mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
manage cities added, edit venue images
This commit is contained in:
@@ -787,5 +787,10 @@
|
||||
"Manage content creators": "Verwalte Content Creators",
|
||||
"Lecturers\/Content Creators": "Dozenten\/Content Creators",
|
||||
"Manage lecturers": "Verwalte Dozenten",
|
||||
"Settings": "Einstellungen"
|
||||
"Settings": "Einstellungen",
|
||||
"Are you sure you want to delete this Bitcoin event?": "Bitte bestätige, dass du dieses Bitcoin Event löschen möchtest.",
|
||||
"Manage cities\/areas": "Verwalte Städte\/Gebiete",
|
||||
"Manage venues": "Verwalte Veranstaltungsorte",
|
||||
"Image deleted!": "Bild gelöscht!",
|
||||
"Current pictures": "Derzeitige Bilder"
|
||||
}
|
||||
|
||||
@@ -784,5 +784,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -784,5 +784,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -785,5 +785,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -747,5 +747,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -759,5 +759,10 @@
|
||||
"Participants": "",
|
||||
"Lecturers\/Content Creators": "",
|
||||
"Manage lecturers": "",
|
||||
"Settings": ""
|
||||
"Settings": "",
|
||||
"Are you sure you want to delete this Bitcoin event?": "",
|
||||
"Manage cities\/areas": "",
|
||||
"Manage venues": "",
|
||||
"Image deleted!": "",
|
||||
"Current pictures": ""
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
<div class="w-full mb-4 md:w-auto md:mb-0" x-data="{currentUrl: window.location.href}">
|
||||
<a x-bind:href="'/city/form/?fromUrl='+currentUrl">
|
||||
<x-button>
|
||||
<i class="fa fa-thin fa-plus"></i>
|
||||
{{ __('New City') }}
|
||||
</x-button>
|
||||
</a>
|
||||
<div class="w-full mb-4 md:w-auto md:mb-0">
|
||||
<x-button :href="route('city.form')">
|
||||
<i class="fa fa-thin fa-plus"></i>
|
||||
{{ __('New City') }}
|
||||
</x-button>
|
||||
</div>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div>
|
||||
@if($row->course_events_count > 0)
|
||||
@if($row->course_events_count > 0 && !$manage)
|
||||
<x-button xs amber wire:click="venueSearch({{ $row->id }})">
|
||||
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
@if($row->course_events_count < 1)
|
||||
@if($row->course_events_count < 1 && !$manage)
|
||||
<x-button xs outlined wire:click="venueSearch({{ $row->id }})">
|
||||
{{ __('Show dates') }} ({{ $row->course_events_count }})
|
||||
</x-button>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<livewire:tables.city-table :country="$country->code" type="bookCase"/>
|
||||
<livewire:tables.city-table :country="$country->code" type="bookCase" :manage="$manage"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
|
||||
@@ -95,6 +95,18 @@
|
||||
{{ __('Manage lecturers') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('bookCases.table.city', ['country' => $country, 'manage' => true]) }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-list flex-none text-gray-400"></i>
|
||||
{{ __('Manage cities/areas') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('school.table.venue', ['country' => $country, 'manage' => true]) }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-list flex-none text-gray-400"></i>
|
||||
{{ __('Manage venues') }}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -53,6 +53,18 @@
|
||||
{{ __('Register event') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('bookCases.table.city', ['country' => $country, 'manage' => true]) }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-list flex-none text-gray-400"></i>
|
||||
{{ __('Manage cities/areas') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('school.table.venue', ['country' => $country, 'manage' => true]) }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-list flex-none text-gray-400"></i>
|
||||
{{ __('Manage venues') }}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
{{ __('Register Meetup date') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('bookCases.table.city', ['country' => $country, 'manage' => true]) }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-list flex-none text-gray-400"></i>
|
||||
{{ __('Manage cities/areas') }}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{{----}}
|
||||
</div>
|
||||
</div>
|
||||
<livewire:tables.venue-table :country="$country->code"/>
|
||||
<livewire:tables.venue-table :country="$country->code" :manage="$manage"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
|
||||
@@ -39,10 +39,24 @@
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
{{--@if ($venue->getFirstMediaUrl('images'))
|
||||
<div class="text-gray-200">{{ __('Current picture') }}:</div>
|
||||
<img class="h-48 object-contain" src="{{ $venue->getFirstMediaUrl('logo') }}">
|
||||
@endif--}}
|
||||
@if ($venue->getMedia('images'))
|
||||
<div class="text-gray-200">{{ __('Current pictures') }}:</div>
|
||||
<div class="grid grid-cols-4 gap-1">
|
||||
@foreach($venue->getMedia('images') as $image)
|
||||
<div class="space-y-2" wire:key="image_{{ $image->id }}" wire:click="deleteMedia({{ $image->id }})">
|
||||
<div class="flex justify-center">
|
||||
<img class="h-48 object-contain" src="{{ $image->getUrl() }}">
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<x-button xs>
|
||||
<i class="fa-thin fa-trash"></i>
|
||||
{{ __('Delete') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<input class="text-gray-200" type="file" multiple wire:model="images">
|
||||
</x-input.group>
|
||||
|
||||
Reference in New Issue
Block a user