From 7da6f5cd0cef2e043b9442bfb052c824d5d87553 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Sun, 19 Aug 2018 17:19:39 +0200 Subject: [PATCH] settings: add VideosLink parameter --- admin/static/views/settings.html | 7 +++++++ frontend/static/index.html | 2 +- settings/settings.go | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/admin/static/views/settings.html b/admin/static/views/settings.html index fafbe988..3151d025 100644 --- a/admin/static/views/settings.html +++ b/admin/static/views/settings.html @@ -20,6 +20,13 @@ +
+ +
+ +
+
+
diff --git a/frontend/static/index.html b/frontend/static/index.html index d294f4c8..23352d85 100644 --- a/frontend/static/index.html +++ b/frontend/static/index.html @@ -41,7 +41,7 @@ Classement - + Vidéos
diff --git a/settings/settings.go b/settings/settings.go index 9de9c494..30e3161e 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -24,6 +24,8 @@ type FICSettings struct { Title string `json:"title"` // Authors is the group name of people making the challenge. Authors string `json:"authors"` + // VideoLink is the link to explaination videos when the challenge is over. + VideosLink string `json:"videoslink"` // Start is the departure time (expected or effective). Start time.Time `json:"start"`