diff --git a/app/Member/Actions/MemberShowAction.php b/app/Member/Actions/MemberShowAction.php
new file mode 100644
index 00000000..5cfa950f
--- /dev/null
+++ b/app/Member/Actions/MemberShowAction.php
@@ -0,0 +1,33 @@
+ new MemberResource($member->load('memberships')),
+ 'toolbar' => [['href' => route('member.index'), 'label' => 'Zurück', 'color' => 'primary', 'icon' => 'undo']],
+ ];
+ }
+
+ public function asController(Member $member): Response
+ {
+ session()->put('menu', 'member');
+ session()->put('title', 'Mitglied '.$member->fullname);
+
+ return Inertia::render('member/Show', $this->handle($member));
+ }
+}
diff --git a/app/Member/MemberResource.php b/app/Member/MemberResource.php
index 5dd71f51..29639afd 100644
--- a/app/Member/MemberResource.php
+++ b/app/Member/MemberResource.php
@@ -71,6 +71,9 @@ class MemberResource extends JsonResource
'multiply_more_pv' => $this->multiply_more_pv,
'age' => $this->getModel()->getAge(),
'is_leader' => $this->leaderMemberships->count() > 0,
+ 'links' => [
+ 'show' => route('member.show', ['member' => $this->getModel()]),
+ ],
];
}
}
diff --git a/resources/img/svg/envelope.svg b/resources/img/svg/envelope.svg
new file mode 100755
index 00000000..e51d3c3e
--- /dev/null
+++ b/resources/img/svg/envelope.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/resources/img/svg/eye.svg b/resources/img/svg/eye.svg
new file mode 100755
index 00000000..831137b2
--- /dev/null
+++ b/resources/img/svg/eye.svg
@@ -0,0 +1 @@
+
diff --git a/resources/img/svg/undo.svg b/resources/img/svg/undo.svg
new file mode 100644
index 00000000..2bdd064e
--- /dev/null
+++ b/resources/img/svg/undo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/resources/js/layouts/AppLayout.vue b/resources/js/layouts/AppLayout.vue
index c9987c2b..1fbc1fac 100644
--- a/resources/js/layouts/AppLayout.vue
+++ b/resources/js/layouts/AppLayout.vue
@@ -29,11 +29,11 @@
v-for="(link, index) in filterMenu"
:key="index"
:href="link.href"
- v-text="link.label"
class="btn label mr-2"
:class="`btn-${link.color}`"
>
-