From 0a4cf0bcf99d7ebf1b5763d9853567ce05837b41 Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Sat, 2 Jan 2021 18:49:02 +0100 Subject: [PATCH] Fix send response timing #2 --- templates/responses_show.html.tpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/responses_show.html.tpl b/templates/responses_show.html.tpl index 11dd3ecf..ed9af4c8 100644 --- a/templates/responses_show.html.tpl +++ b/templates/responses_show.html.tpl @@ -45,16 +45,14 @@ La gara ha una durata illimitata. {{end}} + {{if not (.Data.StartTime|zeroTime)}}
Finestra di consegna
- {{if not (.Data.StartTime|zeroTime)}} E' possibile consegnare la prova entro il giorno {{.Data.Contest.Date|prettyDate}} fino alle ore {{.Data.EndTime|convertTime}} {{- if not .Data.IsActive -}} [Termini per la consegna scaduti]{{- end -}} - {{else}} - E' possibile consegnare la prova di gara in qualunque momento. - {{end}}
{{end}} + {{end}} {{if $isAdmin}}
Ordine delle domande
{{.Data.QuestionsOrder}}