diff --git a/templates/navbar.html b/templates/navbar.html
index 3bd11c7..53e8962 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -41,6 +41,13 @@
{{ navbarItem .Path (.T "Request beatmap ranking") "/beatmaps/rank_request" }}
+ {{ else }}
+
{{ $regEnabled := qb "SELECT value_int FROM system_settings WHERE name = 'registrations_enabled'" }}
{{ if .Context.User.ID }}
-
- {{ .T "You're already logged in!" }}
-
+
+ {{ .T "You're already logged in!" }}
+
{{ else if not ($regEnabled.value_int.Bool) }}
-
- {{ .T "Sorry, it's not possible to register at the moment. Please try again later." }}
-
+
+ {{ .T "Sorry, it's not possible to register at the moment. Please try again later." }}
+
{{ else }}
- {{ if eq (.Gin.Query "stopsign") "1" }}
-
- {{ .T "Remember: this seems like it's your second account! Do not multiaccount, or you're likely to get restricted!" }}
+ {{ if eq (.Gin.Query "stopsign") "1" }}
+
+ {{ .T "Remember: this seems like it's your second account! Do not multiaccount, or you're likely to get restricted!" }}
+
+ {{ end }}
+
+
Don't have a code? Apply here!
+
+
+
+
- {{ end }}
-
-
-
-
- {{ .T "Submit" }}
-
+
+ {{ .T "Submit" }}
+
{{ end }}
{{ end }}
\ No newline at end of file