diff --git a/web/layouts/agenda/display-event.html b/web/layouts/agenda/display-event.html index 16f1f64..0703772 100644 --- a/web/layouts/agenda/display-event.html +++ b/web/layouts/agenda/display-event.html @@ -157,8 +157,8 @@
  • {{ (index $.ViewState.subscribers .Subscriber).Data.first_name }} {{ (index $.ViewState.subscribers .Subscriber).Data.last_name }} - + + x
  • {{end}} {{end}} diff --git a/web/layouts/agenda/history-event.html b/web/layouts/agenda/history-event.html index 13e51d4..9ff9e80 100644 --- a/web/layouts/agenda/history-event.html +++ b/web/layouts/agenda/history-event.html @@ -1,19 +1,25 @@ {{define "content"}} +{{ if eq (index .ViewState.event.Owners 0) .Group.ID }}
    -
    -
    -
    -

    Bénéficiaires désinscrits 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 +
    +
    +
    +
    +

    Bénéficiaires désinscrits 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}} +

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