mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
add attendees export
This commit is contained in:
@@ -854,5 +854,7 @@
|
||||
"Reset filtering": "Filter zurücksetzen",
|
||||
"News articles writer": "News-Artikel-Autoren",
|
||||
"Click on any of the authors to see their articles.": "Klicke auf einen der Autoren, um die Artikel zu lesen.",
|
||||
"articles": "Artikel"
|
||||
"articles": "Artikel",
|
||||
"Participation confirmed": "Teilnahme bestätigt",
|
||||
"There was an error on row :row. :message": "Es gab einen Fehler in Zeile :row. :message"
|
||||
}
|
||||
|
||||
@@ -852,5 +852,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -852,5 +852,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -853,5 +853,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -815,5 +815,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
@@ -827,5 +827,8 @@
|
||||
"Reset filtering": "",
|
||||
"News articles writer": "",
|
||||
"Click on any of the authors to see their articles.": "",
|
||||
"articles": ""
|
||||
"articles": "",
|
||||
"Participation confirmed": "",
|
||||
"Perhabs": "",
|
||||
"There was an error on row :row. :message": ""
|
||||
}
|
||||
16
resources/views/exports/meetupEventsAttendees.blade.php
Normal file
16
resources/views/exports/meetupEventsAttendees.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($attendees as $a)
|
||||
<tr>
|
||||
<td>{{ $a['name'] }}</td>
|
||||
<td>{{ $a['status'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -19,11 +19,51 @@
|
||||
<div class="relative text-lg font-medium text-gray-200 md:flex-grow">
|
||||
<p class="relative">{{ $meetup->intro }}</p>
|
||||
</div>
|
||||
|
||||
<footer class="mt-4">
|
||||
<p class="text-base font-semibold text-gray-200">{{ $meetup->users->count() }} {{ __('Plebs') }}</p>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<x-button black target="_blank" class="mb-6"
|
||||
:href="route('export.meetupEvent', ['meetupEvent' => $meetupEvent])">
|
||||
<i class="fa-thin fa-file-excel"></i>
|
||||
{{ __('Download') }}
|
||||
</x-button>
|
||||
|
||||
<div class="border-b border-gray-200 pb-5">
|
||||
<h3 class="text-base font-semibold leading-6 text-gray-200">{{ __('Confirmations') }}</h3>
|
||||
</div>
|
||||
<ul role="list" class="divide-y divide-gray-200">
|
||||
|
||||
@foreach($attendees as $a)
|
||||
<li class="flex py-4">
|
||||
<img class="h-10 w-10 rounded-full"
|
||||
src="{{ $a['user']['profile_photo_url'] ?? 'https://ui-avatars.com/api/?name='.urlencode($a['name']).'&color=7F9CF5&background=EBF4FF' }}"
|
||||
alt="{{ $a['name'] }}">
|
||||
<div class="ml-3">
|
||||
<p class="text-sm font-medium text-gray-200">{{ $a['name'] }}</p>
|
||||
<p class="text-sm text-green-300">{{ __('Participation confirmed') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="border-b border-gray-200 pb-5 mt-6">
|
||||
<h3 class="text-base font-semibold leading-6 text-gray-200">{{ __('Perhaps') }}</h3>
|
||||
</div>
|
||||
<ul role="list" class="divide-y divide-gray-200">
|
||||
|
||||
@foreach($mightAttendees as $a)
|
||||
<li class="flex py-4">
|
||||
<img class="h-10 w-10 rounded-full"
|
||||
src="{{ $a['user']['profile_photo_url'] ?? 'https://ui-avatars.com/api/?name='.urlencode($a['name']).'&color=7F9CF5&background=EBF4FF' }}"
|
||||
alt="{{ $a['name'] }}">
|
||||
<div class="ml-3">
|
||||
<p class="text-sm font-medium text-gray-200">{{ $a['name'] }}</p>
|
||||
<p class="text-sm text-yellow-300">{{ __('Perhaps') }}</p>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="relative mx-auto max-w-md px-6 sm:max-w-3xl lg:px-0">
|
||||
|
||||
Reference in New Issue
Block a user