mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
my meetups links added
This commit is contained in:
@@ -20,6 +20,10 @@ class Meetups extends Component
|
||||
|
||||
public $hasMeetups = false;
|
||||
|
||||
public ?string $fromUrl = '';
|
||||
|
||||
protected $queryString = ['fromUrl' => ['except' => '']];
|
||||
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
@@ -54,11 +58,14 @@ class Meetups extends Component
|
||||
if (count($this->myMeetups) > 0) {
|
||||
$this->hasMeetups = true;
|
||||
}
|
||||
if (!$this->fromUrl) {
|
||||
$this->fromUrl = url()->previous();
|
||||
}
|
||||
}
|
||||
|
||||
public function next()
|
||||
{
|
||||
return redirect()->intended();
|
||||
return redirect($this->fromUrl);
|
||||
}
|
||||
|
||||
public function updatedSearch($value)
|
||||
|
||||
@@ -647,7 +647,7 @@
|
||||
"Telegram-Link": "",
|
||||
"Website": "",
|
||||
"Twitter Username": "",
|
||||
"Select one or more meetup groups so that you can get access to these groups in the backend.": "Suche dir Meetup-Gruppen aus, um Zugriff auf diese Gruppen im Backend zu erhalten.",
|
||||
"Select one or more meetup groups so that you can get access to these groups in the backend.": "Suche dir Meetup-Gruppen aus, um Zugriff auf diese Gruppen zu erhalten.",
|
||||
"choice": "Auswahl",
|
||||
"By id": "nach ID",
|
||||
"Twitter": "",
|
||||
|
||||
@@ -71,6 +71,12 @@
|
||||
{{ __('Manage cities/areas') }}
|
||||
</a>
|
||||
|
||||
<a href="{{ route('profile.meetups') }}"
|
||||
class="flex gap-x-4 py-2 text-sm font-semibold leading-6 text-gray-900">
|
||||
<i class="fa-thin fa-user-group flex-none text-gray-400"></i>
|
||||
{{ __('My meetups') }}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user