mirror of https://github.com/zulip/zulip.git
handlebars: Add server_uri and realm_uri to page_params.
This commit is contained in:
parent
4fbb8c3eee
commit
5cad3f5707
|
@ -920,6 +920,8 @@ def home(request):
|
||||||
test_suite = settings.TEST_SUITE,
|
test_suite = settings.TEST_SUITE,
|
||||||
poll_timeout = settings.POLL_TIMEOUT,
|
poll_timeout = settings.POLL_TIMEOUT,
|
||||||
login_page = settings.HOME_NOT_LOGGED_IN,
|
login_page = settings.HOME_NOT_LOGGED_IN,
|
||||||
|
server_uri = settings.SERVER_URI,
|
||||||
|
realm_uri = user_profile.realm.uri,
|
||||||
maxfilesize = settings.MAX_FILE_UPLOAD_SIZE,
|
maxfilesize = settings.MAX_FILE_UPLOAD_SIZE,
|
||||||
server_generation = settings.SERVER_GENERATION,
|
server_generation = settings.SERVER_GENERATION,
|
||||||
password_auth_enabled = password_auth_enabled(user_profile.realm),
|
password_auth_enabled = password_auth_enabled(user_profile.realm),
|
||||||
|
|
Loading…
Reference in New Issue