Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

gear_menu_popover: Enable `Plan management` in production.

Aman Agrawal3aed22dcd0b9
diff --git a/web/templates/gear_menu_popover.hbs b/web/templates/gear_menu_popover.hbs
index 3b08e9da21c..39f20bb1a87 100644
--- a/web/templates/gear_menu_popover.hbs
+++ b/web/templates/gear_menu_popover.hbs
@@ -133,8 +133,7 @@
</a>
</li>
{{/if}}
- {{#if (and is_development_environment show_remote_billing) }}
- {{! This is only shown in development environment until the UI is ready.}}
+ {{#if show_remote_billing }}
<li class="link-item navbar-dropdown-menu-inner-list-item">
<a href="/self-hosted-billing/" target="_blank" rel="noopener noreferrer" class="navigate-link-on-enter navbar-dropdown-menu-link">
<i class="navbar-dropdown-icon zulip-icon zulip-icon-rocket" aria-hidden="true"></i> {{t 'Plan management' }}
diff --git a/zerver/views/push_notifications.py b/zerver/views/push_notifications.py
index ed3823e5ac9..bfe4e116e07 100644
--- a/zerver/views/push_notifications.py
+++ b/zerver/views/push_notifications.py
@@ -125,7 +125,7 @@ def self_hosting_auth_redirect(
*,
next_page: Optional[str] = None,
) -> HttpResponse: # nocoverage
- if not settings.DEVELOPMENT or not uses_notification_bouncer():
+ if not uses_notification_bouncer():
return render(request, "404.html", status=404)
user = request.user