Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
dev_panel: Use correct content helper for portico pages.
Tim Abbott459bf379c290
diff --git a/templates/zerver/integrations/development/dev_panel.html b/templates/zerver/integrations/development/dev_panel.htmlindex 005dcbb3130..0b7d29d0694 100644--- a/templates/zerver/integrations/development/dev_panel.html+++ b/templates/zerver/integrations/development/dev_panel.html@@ -7,7 +7,7 @@{% endblock %}-{% block content %}+{% block portico_content %}<div class="header portico-header"><div class="header-main top-navbar"><div>diff --git a/zerver/views/development/integrations.py b/zerver/views/development/integrations.pyindex 281f0a071d1..a44e0bb7fb3 100644--- a/zerver/views/development/integrations.py+++ b/zerver/views/development/integrations.py@@ -30,7 +30,12 @@ def get_valid_integration_name(name: str) -> Optional[str]:def dev_panel(request: HttpRequest) -> HttpResponse:integrations = get_webhook_integrations()bots = UserProfile.objects.filter(is_bot=True, bot_type=UserProfile.INCOMING_WEBHOOK_BOT)- context = {"integrations": integrations, "bots": bots}+ context = {+ "integrations": integrations,+ "bots": bots,+ # We set isolated_page to avoid clutter from footer/header.+ "isolated_page": True,+ }return render(request, "zerver/integrations/development/dev_panel.html", context)