2022-10-17 03:02:19 +00:00
|
|
|
{{define "groups_members"}}
|
2022-08-11 15:26:55 +00:00
|
|
|
<div class="border-t border-gray-200 px-4 py-5 sm:px-6">
|
|
|
|
|
2022-10-17 03:02:19 +00:00
|
|
|
<h2 class="text-md font-medium text-gray-900">Membres de l'organisation</h2>
|
2022-08-11 15:26:55 +00:00
|
|
|
|
|
|
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
2022-09-06 13:02:59 +00:00
|
|
|
|
2022-10-17 03:02:19 +00:00
|
|
|
{{range .ViewState.members}}
|
2022-08-11 15:26:55 +00:00
|
|
|
<div class="relative rounded-lg bg-white px-6 py-5 flex items-center space-x-3 focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-co-blue">
|
|
|
|
<div class="flex-shrink-0">
|
2022-09-06 13:02:59 +00:00
|
|
|
<img class="h-10 w-10 rounded-co" src="/app/beneficiaries/{{.ID}}/picture" alt="">
|
2022-08-11 15:26:55 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex-1 min-w-0">
|
|
|
|
<a href="#" class="focus:outline-none">
|
|
|
|
<span class="absolute inset-0" aria-hidden="true"></span>
|
2022-09-06 13:02:59 +00:00
|
|
|
<p class="text-sm font-medium text-gray-900">{{.Data.first_name}} {{.Data.last_name}}</p>
|
|
|
|
<p class="text-sm text-gray-500 truncate">{{.Data.email}}</p>
|
2022-08-11 15:26:55 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-06 13:02:59 +00:00
|
|
|
{{end}}
|
2022-08-11 15:26:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-06 13:02:59 +00:00
|
|
|
|
|
|
|
<!-- <div class="border-t border-gray-200 px-4 py-5 sm:px-6">
|
|
|
|
|
|
|
|
<h2 class="text-md font-medium text-gray-900">Membres de l'organisation</h2>
|
|
|
|
|
|
|
|
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
|
|
|
|
|
|
|
{{range .ViewState.members}}
|
|
|
|
<div class="relative rounded-lg bg-white px-6 py-5 flex items-center space-x-3 focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-co-blue">
|
|
|
|
<div class="flex-shrink-0">
|
|
|
|
<img class="h-10 w-10 rounded-co" src="/app/beneficiaries/{{.ID}}/picture" alt="">
|
|
|
|
</div>
|
|
|
|
<div class="flex-1 min-w-0">
|
|
|
|
<a href="#" class="focus:outline-none">
|
|
|
|
<span class="absolute inset-0" aria-hidden="true"></span>
|
|
|
|
<p class="text-sm font-medium text-gray-900">{{.Data.first_name}} {{.Data.last_name}}</p>
|
|
|
|
<p class="text-sm text-gray-500 truncate">{{.Data.email}}</p>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div> -->
|
2022-08-11 15:26:55 +00:00
|
|
|
{{end}}
|