diff --git a/web/layouts/agenda/delete-event.html b/web/layouts/agenda/delete-event.html index af7d15f..a4148d1 100644 --- a/web/layouts/agenda/delete-event.html +++ b/web/layouts/agenda/delete-event.html @@ -1,4 +1,6 @@ {{define "content"}} +{{ if eq (index .ViewState.event.Owners 0) .Group.ID }} +
@@ -29,4 +31,28 @@
+ {{else}} +
+ +
+
+ +
+
+
+ {{.IconSet.Icon "hero:outline/information-circle" "h-6 w-6"}} +
+
+ +
+
+
+ + Annuler + +
+
+
+
+ {{end}} {{end}} diff --git a/web/layouts/agenda/updateEvent.html b/web/layouts/agenda/updateEvent.html index 4533761..a8e2c7b 100644 --- a/web/layouts/agenda/updateEvent.html +++ b/web/layouts/agenda/updateEvent.html @@ -1,4 +1,5 @@ {{ define "content" }} +{{ if eq (index .ViewState.event.Owners 0) .Group.ID }}

Modifier votre agenda

@@ -227,5 +228,28 @@
+{{else}} +
+ +
+
+
+
+
+ {{.IconSet.Icon "hero:outline/information-circle" "h-6 w-6"}} +
+
+ +
+
+
+ + Annuler + +
+
+
+
+{{end}} {{end}} \ No newline at end of file diff --git a/web/layouts/members/update.html b/web/layouts/members/update.html index b7b28b0..bfe9db0 100644 --- a/web/layouts/members/update.html +++ b/web/layouts/members/update.html @@ -1,4 +1,5 @@ {{define "content"}} +{{if eq .UserID .ViewState.ID}}

Modifier vos informations

@@ -128,4 +129,26 @@
+{{else}} +
+ +
+
+ +
+
+
+ {{.IconSet.Icon "hero:outline/information-circle" "h-6 w-6"}} +
+
+ +
+
+
+ Annuler +
+
+
+
+{{end}} {{end}} \ No newline at end of file