move left_footer and co to bottom of settings file

This commit is contained in:
Henry Oswald 2016-06-09 18:29:27 +01:00
parent 342ab43c6b
commit 1519329dac

View file

@ -134,17 +134,9 @@ settings =
# If you are running ShareLaTeX behind a proxy (like Apache, Nginx, etc) # If you are running ShareLaTeX behind a proxy (like Apache, Nginx, etc)
# then set this to true to allow it to correctly detect the forwarded IP # then set this to true to allow it to correctly detect the forwarded IP
# address and http/https protocol information. # address and http/https protocol information.
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
if process.env["SHARELATEX_LEFT_FOOTER"]
left_footer: process.env["SHARELATEX_LEFT_FOOTER"]
if process.env["SHARELATEX_RIGHT_FOOTER"]
right_footer: process.env["SHARELATEX_RIGHT_FOOTER"]
if process.env["SHARELATEX_HEADER"]
header: process.env["SHARELATEX_HEADER"]
# Spell Check Languages # Spell Check Languages
# --------------------- # ---------------------
# #
@ -419,6 +411,16 @@ settings =
#### OPTIONAL CONFIGERABLE SETTINGS #### OPTIONAL CONFIGERABLE SETTINGS
if process.env["SHARELATEX_LEFT_FOOTER"]?
settings.left_footer = process.env["SHARELATEX_LEFT_FOOTER"]
if process.env["SHARELATEX_RIGHT_FOOTER"]?
settings.right_footer = process.env["SHARELATEX_RIGHT_FOOTER"]
if process.env["SHARELATEX_HEADER"]?
settingsheader = process.env["SHARELATEX_HEADER"]
# Sending Email # Sending Email
# ------------- # -------------
# #