diff --git a/config.yaml b/config.yaml
index bae16d7..af8d537 100644
--- a/config.yaml
+++ b/config.yaml
@@ -28,7 +28,9 @@ views:
- web/layouts/beneficiaries/_partials/beneficiary-events.html
- web/layouts/beneficiaries/_partials/beneficiary-files.html
- web/layouts/beneficiaries/_partials/beneficiary-organizations.html
+ - web/layouts/solidarity_service/beneficiary-solidarity.html
- web/layouts/beneficiaries/display.html
+
update:
files:
- web/layouts/_partials/address_autocomplete.html
@@ -84,18 +86,19 @@ views:
fleet_update:
files:
- web/layouts/_partials/address_autocomplete.html
+ - web/layouts/agenda/_partials/address.html
- web/layouts/vehicles_management/_partials/vehicle-type-select.html
- web/layouts/vehicles_management/fleet-update.html
booking_display:
files:
- web/layouts/vehicles_management/booking-display.html
+ delete_booking:
+ files:
+ - web/layouts/vehicles_management/delete-booking.html
agenda:
list:
files:
- web/layouts/agenda/home.html
- history:
- files:
- - web/layouts/agenda/history.html
display_event:
files:
- web/layouts/agenda/_partials/subscribers-table.html
@@ -129,7 +132,8 @@ views:
- web/layouts/journeys/_partials/journeys-all.html
- web/layouts/journeys/_partials/journeys-others.html
- web/layouts/journeys/_partials/journeys-carpool.html
- - web/layouts/journeys/_partials/journeys-public-transit.html
+ #- web/layouts/journeys/_partials/journeys-public-transit.html
+ - web/layouts/journeys/_partials/journeys-solidarity-service.html
- web/layouts/journeys/search.html
list:
files:
@@ -184,10 +188,6 @@ views:
vehicles_list:
files:
- web/layouts/administration/vehicles_stats.html
- bookings_list:
- files:
- - web/layouts/administration/_partials/bookings_list.html
- - web/layouts/administration/bookings_stats.html
settings:
files:
- web/layouts/administration/_partials/groups_admins.html
@@ -215,7 +215,11 @@ views:
ko:
files:
- web/layouts/auth/onboarding-ko.html
-
+ solidarity_service:
+ list:
+ files:
+ - web/layouts/_partials/address_autocomplete.html
+ - web/layouts/solidarity_service/main.html
icons:
svg:
coopgo:parcoursmob/monogram:
@@ -293,4 +297,4 @@ emails:
subject: PARCOURSMOB - Un bénéficiaire a été retiré d'un dispositif
files:
- emails/layout.html
- - emails/onboarding/delete-subscriber.html
+ - emails/onboarding/delete-subscriber.html
\ No newline at end of file
diff --git a/default b/default
new file mode 120000
index 0000000..331d858
--- /dev/null
+++ b/default
@@ -0,0 +1 @@
+default
\ No newline at end of file
diff --git a/web/layouts/beneficiaries/_partials/beneficiary-events.html b/web/layouts/beneficiaries/_partials/beneficiary-events.html
index 0b1562a..d869e87 100644
--- a/web/layouts/beneficiaries/_partials/beneficiary-events.html
+++ b/web/layouts/beneficiaries/_partials/beneficiary-events.html
@@ -8,7 +8,7 @@
{{ $eventCount := len .ViewState.event }}
-
+
{{end}}
{{end}}
{{end}}
+
+
{{end}}
\ No newline at end of file
diff --git a/web/layouts/beneficiaries/create.html b/web/layouts/beneficiaries/create.html
index a725af1..201c755 100644
--- a/web/layouts/beneficiaries/create.html
+++ b/web/layouts/beneficiaries/create.html
@@ -167,7 +167,7 @@
-
+
Certains champs de sont pas valides.
diff --git a/web/layouts/beneficiaries/display.html b/web/layouts/beneficiaries/display.html
index 3be8ddf..ba3ab8c 100644
--- a/web/layouts/beneficiaries/display.html
+++ b/web/layouts/beneficiaries/display.html
@@ -137,6 +137,11 @@
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
:class="tab == 'organizations' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
Gestionnaires
+
+
+ Transport Solidaire
@@ -145,6 +150,8 @@
{{template "beneficiary_files" .}}
{{template "beneficiary_notes" .}}
{{template "beneficiary_organizations" .}}
+ {{template "beneficiary_solidarity" .}}
+
diff --git a/web/layouts/beneficiaries/list.html b/web/layouts/beneficiaries/list.html
index da8bbad..f04d466 100644
--- a/web/layouts/beneficiaries/list.html
+++ b/web/layouts/beneficiaries/list.html
@@ -96,6 +96,7 @@
class="inline-flex rounded-full bg-green-100 px-2 text-xs font-semibold leading-5 text-green-800"
x-text="tag">
+
diff --git a/web/layouts/journeys/_partials/journeys-all.html b/web/layouts/journeys/_partials/journeys-all.html
index c340373..fb59d1e 100644
--- a/web/layouts/journeys/_partials/journeys-all.html
+++ b/web/layouts/journeys/_partials/journeys-all.html
@@ -51,46 +51,10 @@
- {{end}}
-
- {{ if gt (len .ViewState.journeys.Journeys) 0}}
-
-
- {{.IconSet.Icon "tabler-icons:bus" "h-6 w-6 inline-flex mr-4"}}
- {{(timeFrom (index .ViewState.journeys.Journeys 0).Departure).Format "15:04"}} - {{(timeFrom (index .ViewState.journeys.Journeys 0).Arrival).Format "15:04"}}
- ({{(index .ViewState.journeys.Journeys 0).Duration.Minutes | printf "%.0f"}} Minutes)
-
-
-
-
- {{$firstwalk := true}}
- {{range (index .ViewState.journeys.Journeys 0).Sections}}
- {{if eq .Type "street_network"}}
-
- {{$.IconSet.Icon "tabler-icons:walk" "h-4 w-4 stroke-gray-800"}}
-
- {{if $firstwalk}}
- {{$firstwalk = false}}
- {{$.IconSet.Icon "hero:outline/chevron-right" "h-3 w-3 stroke-gray-800 m-2"}}
- {{end}}
- {{end}}
- {{if eq .Type "public_transport"}}
-
- {{if eq .Display.Network "Antibes - Envibus"}}Envibus{{else}}{{.Display.Network}}{{end}} Ligne {{.Display.Label}}
-
- {{$.IconSet.Icon "hero:outline/chevron-right" "h-3 w-3 stroke-gray-800 m-2"}}
- {{end}}
- {{end}}
-
-
Voir le détail
-
-
- {{ len .ViewState.journeys.Journeys}} solutions en transports en commun : les voir toutes
-
-
{{end}}
+
{{.IconSet.Icon "tabler-icons:car" "h-6 w-6 inline-flex mr-4"}}
@@ -102,4 +66,6 @@
Réserver un véhicule
-{{end}}
\ No newline at end of file
+{{end}}
+
+
diff --git a/web/layouts/journeys/_partials/journeys-solidarity-service.html b/web/layouts/journeys/_partials/journeys-solidarity-service.html
new file mode 100644
index 0000000..f33006e
--- /dev/null
+++ b/web/layouts/journeys/_partials/journeys-solidarity-service.html
@@ -0,0 +1,208 @@
+{{define "journeys_solidarity_service"}}
+
+
+{{end}}
+
diff --git a/web/layouts/journeys/search.html b/web/layouts/journeys/search.html
index ab091d9..d050701 100644
--- a/web/layouts/journeys/search.html
+++ b/web/layouts/journeys/search.html
@@ -81,6 +81,8 @@
Transports
+ Transports Solidaire
+
Autres
@@ -104,6 +106,11 @@
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
:class="tab == 'public-transit' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
Transports
+
+
+ Transports Solidaire
+
+
+
+
+
+
+
+ Résultats
+
+ à
+
+ sur
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Sélectionner un Passager
+
+ {{ $departureField := "departure" }}
+ {{ $departureLabel := "Départ" }}
+ {{ template "address_autocomplete" dict "FieldName" $departureField "FieldLabel" $departureLabel }}
+
+ {{ $destinationField := "destination" }}
+ {{ $destinationLabel := "Destination" }}
+ {{ template "address_autocomplete" dict "FieldName" $destinationField "FieldLabel" $destinationLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{end}}
\ No newline at end of file