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 $hasMeetups = false;
|
||||||
|
|
||||||
|
public ?string $fromUrl = '';
|
||||||
|
|
||||||
|
protected $queryString = ['fromUrl' => ['except' => '']];
|
||||||
|
|
||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
@@ -54,11 +58,14 @@ class Meetups extends Component
|
|||||||
if (count($this->myMeetups) > 0) {
|
if (count($this->myMeetups) > 0) {
|
||||||
$this->hasMeetups = true;
|
$this->hasMeetups = true;
|
||||||
}
|
}
|
||||||
|
if (!$this->fromUrl) {
|
||||||
|
$this->fromUrl = url()->previous();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function next()
|
public function next()
|
||||||
{
|
{
|
||||||
return redirect()->intended();
|
return redirect($this->fromUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updatedSearch($value)
|
public function updatedSearch($value)
|
||||||
|
|||||||
@@ -647,7 +647,7 @@
|
|||||||
"Telegram-Link": "",
|
"Telegram-Link": "",
|
||||||
"Website": "",
|
"Website": "",
|
||||||
"Twitter Username": "",
|
"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",
|
"choice": "Auswahl",
|
||||||
"By id": "nach ID",
|
"By id": "nach ID",
|
||||||
"Twitter": "",
|
"Twitter": "",
|
||||||
|
|||||||
@@ -71,6 +71,12 @@
|
|||||||
{{ __('Manage cities/areas') }}
|
{{ __('Manage cities/areas') }}
|
||||||
</a>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user