search: Duplicate HTML template content for search area.

This is preparation for being able to work on the search pills feature
without making any user-facing changes until we're ready to enable it.
This commit is contained in:
Tim Abbott
2018-07-14 15:09:33 +05:30
parent 8dca8f1087
commit 2918cc92f3
3 changed files with 25 additions and 1 deletions

View File

@@ -265,6 +265,7 @@ def home_real(request: HttpRequest) -> HttpResponse:
'show_debug':
settings.DEBUG and ('show_debug' in request.GET),
'pipeline': settings.PIPELINE_ENABLED,
'search_pills_enabled': settings.SEARCH_PILLS_ENABLED,
'show_invites': show_invites,
'is_admin': user_profile.is_realm_admin,
'is_guest': user_profile.is_guest,