about_zulip: Migrate to handlebars.

This results in moving the `zulip_merge_base` parameter to
page_params, so that it's available to JavaScript.

Since this is technically a tiny overlay, it needs to be initialized
before hashchange.js.
This commit is contained in:
Ganesh Pawar
2021-06-14 16:49:27 +05:30
committed by Tim Abbott
parent c220c01ad2
commit 1d4b6c1320
7 changed files with 26 additions and 8 deletions

View File

@@ -8,7 +8,6 @@ from django.shortcuts import redirect, render
from django.urls import reverse
from django.utils.cache import patch_cache_control
from version import ZULIP_MERGE_BASE, ZULIP_VERSION
from zerver.context_processors import get_valid_realm_from_request
from zerver.decorator import web_public_view, zulip_login_required
from zerver.forms import ToSForm
@@ -237,8 +236,6 @@ def home_real(request: HttpRequest) -> HttpResponse:
"is_admin": user_permission_info.is_realm_admin,
"is_guest": user_permission_info.is_guest,
"color_scheme": user_permission_info.color_scheme,
"zulip_version": ZULIP_VERSION,
"zulip_merge_base": ZULIP_MERGE_BASE,
"navbar_logo_url": navbar_logo_url,
"show_webathena": user_permission_info.show_webathena,
"embedded": narrow_stream is not None,