Added a Maintenance Window flash (#758)

This commit is contained in:
farhatahmad
2019-08-22 12:15:01 -04:00
committed by Jesus Federico
parent 177bf4d595
commit 9ddc057589
6 changed files with 30 additions and 1 deletions

View File

@ -118,6 +118,10 @@ module Greenlight
config.google_analytics = ENV["GOOGLE_ANALYTICS_TRACKING_ID"].present?
# MAINTENANCE
config.maintenance_window = ENV["MAINTENANCE_WINDOW"]
config.maintenance_mode = ENV["MAINTENANCE_MODE"] == "true"
# DEFAULTS
# Default branding image if the user does not specify one

View File

@ -285,6 +285,8 @@ en:
verify_text: 'To verify your account, just follow this link: %{url}'
verify_link: Verify Account
thanks: Thanks for joining and have a great day!
maintenance:
window_alert: Maintenance window scheduled for %{date}
max_concurrent: The maximum number of concurrent sessions allowed has been reached!
modal:
create_role: