From 5614bb448afaa5d5d6d2ed5cf0f9ac20300623a3 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Fri, 9 Nov 2018 19:55:07 -0500 Subject: [PATCH] Show "closed registration" message on landing page --- pages/landing.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/landing.tmpl b/pages/landing.tmpl index ea72792..4be9192 100644 --- a/pages/landing.tmpl +++ b/pages/landing.tmpl @@ -64,7 +64,8 @@ form dd {

Learn more...

-
+ + {{ if .OpenRegistration }} {{if .Flashes}}
    {{range .Flashes}}
  • {{.}}
  • {{end}}
{{end}} @@ -93,6 +94,10 @@ form dd {
+ {{ else }} +

Registration is currently closed.

+

You can always sign up on another instance.

+ {{ end }}