mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
we can now delete meetup events
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<script src="https://kit.fontawesome.com/03bc14bd1e.js" crossorigin="anonymous"></script>
|
||||
@mapstyles
|
||||
@mapscripts
|
||||
<wireui:scripts/>
|
||||
@wireUiScripts
|
||||
<x-comments::scripts/>
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
<!-- Styles -->
|
||||
@@ -79,12 +79,13 @@
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-sans antialiased bg-21gray dark">
|
||||
<x-notifications z-index="z-50" blur="md" align="center"/>
|
||||
<x-dialog z-index="z-50" blur="md" align="center" />
|
||||
@if(auth()->user())
|
||||
{{-- HIGHSCORE-CHAT --}}
|
||||
<livewire:chat.highscore-chat/>
|
||||
@endif
|
||||
<livewire:laravel-echo/>
|
||||
<x-notifications z-index="z-50" blur="md" align="center"/>
|
||||
<x-jet-banner/>
|
||||
<div class="min-h-screen">
|
||||
@auth
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
<body class="font-sans antialiased bg-21gray dark">
|
||||
<livewire:laravel-echo/>
|
||||
<x-notifications z-index="z-50" blur="md" align="center"/>
|
||||
<x-dialog z-index="z-50" blur="md" align="center" />
|
||||
{{ $slot }}
|
||||
@stack('modals')
|
||||
@livewireScripts
|
||||
|
||||
@@ -2,8 +2,21 @@
|
||||
|
||||
<div class="pb-5 flex flex-row justify-between">
|
||||
<h3 class="text-lg font-medium leading-6 text-gray-200">{{ __('Meetup Event') }}</h3>
|
||||
<div>
|
||||
<x-button :href="route('meetup.table.meetupEvent', ['country' => $country])">{{ __('Back') }}</x-button>
|
||||
<div class="flex flex-row space-x-2 items-center">
|
||||
<div>
|
||||
@if($meetupEvent->id)
|
||||
<x-button negative wire:click="deleteMe">
|
||||
<i class="fa fa-thin fa-trash"></i>
|
||||
{{ __('Delete') }}
|
||||
</x-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<x-button :href="route('meetup.table.meetupEvent', ['country' => $country])">
|
||||
<i class="fa fa-thin fa-arrow-left"></i>
|
||||
{{ __('Back') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user