{{define "content"}}

Historique de l'évènement {{.ViewState.event.Name}}

{{if eq .ViewState.event.Startdate .ViewState.event.Enddate}} Le {{(timeFrom .ViewState.event.Startdate).Format "02/01/2006"}} {{else}} Du {{(timeFrom .ViewState.event.Startdate).Format "02/01/2006"}} au {{(timeFrom .ViewState.event.Enddate).Format "02/01/2006"}} {{end}}

Retour
{{range .ViewState.event.DeletedSubscription}} {{end}}
Bénéficiaire Prescripteur Supprimé par Date de suppression Motif
 {{ (index $.ViewState.subscribers .Subscriber).Data.first_name }} {{ (index $.ViewState.subscribers .Subscriber).Data.last_name }}
 {{.Data.subscribed_by.user.display_name}}
{{.Data.subscribed_by.group.name}}
 {{.Data.unsubscribed_by.user.display_name}}
{{.Data.unsubscribed_by.group.name}}
{{(timeFormat .CreatedAt "02/01/2006")}}
{{.Data.motif}}
{{end}}