diff --git a/config.yaml b/config.yaml index aad114f..0102a64 100644 --- a/config.yaml +++ b/config.yaml @@ -87,6 +87,9 @@ views: list: files: - web/layouts/agenda/home.html + history: + files: + - web/layouts/agenda/history.html display_event: files: - web/layouts/agenda/_partials/subscribers-table.html diff --git a/web/layouts/agenda/history.html b/web/layouts/agenda/history.html new file mode 100644 index 0000000..55f84fe --- /dev/null +++ b/web/layouts/agenda/history.html @@ -0,0 +1,105 @@ +{{define "content"}} +
+ Dispositif + | ++ Structure + | ++ Lieu + | ++ Dates + | ++ Places disponibles + | ++ Bénéficiaires positionnés + | ++ Actions + | +
---|---|---|---|---|---|---|
+
+ {{.Name}}
+ {{.Type}}
+ |
+
+
+
+ {{range .Owners}}
+ {{if (index $.ViewState.groups .)}}
+ {{(index $.ViewState.groups .).Data.name}}
+ {{end}}
+ {{end}}
+
+ |
+
+ {{if .Data.address}}{{.Data.address.properties.label}}{{end}}
+ |
+
+
+ {{if eq .Startdate .Enddate}}
+ Le {{(timeFrom .Startdate).Format "02/01/2006"}}
+ {{else}}
+ Du {{(timeFrom .Startdate).Format "02/01/2006"}}
+ Au {{(timeFrom .Enddate).Format "02/01/2006"}} + {{end}} + |
+
+ {{if ne .RemainingSubscriptions 999}}
+ {{.RemainingSubscriptions}}
+ {{end}}
+ |
+
+
+ {{range .Subscriptions}}
+
+ {{end}}
+
+ |
+
+
+ + Voir + | +