diff --git a/config.py b/config.py index 71e652e..23e979a 100644 --- a/config.py +++ b/config.py @@ -11,7 +11,7 @@ class Config(): SQLALCHEMY_DATABASE_URI = dotenv_values().get("SQLALCHEMY_DATABASE_URI") or "postgresql://localhost/goathacks" - MAX_BEFORE_WAITLIST = int(dotenv_values().get("MAX_BEFORE_WAITLIST")) or 1 + MAX_BEFORE_WAITLIST = int(dotenv_values().get("MAX_BEFORE_WAITLIST") or 1) MCE_API_KEY = dotenv_values().get("MCE_API_KEY") SECRET_KEY = dotenv_values().get("SECRET_KEY") or "bad-key-change-me" diff --git a/goathacks/templates/dashboard.html b/goathacks/templates/dashboard.html index 7813b56..d080b5b 100644 --- a/goathacks/templates/dashboard.html +++ b/goathacks/templates/dashboard.html @@ -15,6 +15,12 @@
Let us know if you have any questions by sending them to hack@wpi.edu
+ {% if not current_user.waitlisted and config['DISCORD_LINK'] %} +Make sure to join our Discord to get the latest updates!
+ + {% endif %} +