mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
gear_menu_popover: Enable Plan management in production.
This commit is contained in:
@@ -133,8 +133,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (and is_development_environment show_remote_billing) }}
|
{{#if show_remote_billing }}
|
||||||
{{! This is only shown in development environment until the UI is ready.}}
|
|
||||||
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
<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">
|
<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' }}
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-rocket" aria-hidden="true"></i> {{t 'Plan management' }}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ def self_hosting_auth_redirect(
|
|||||||
*,
|
*,
|
||||||
next_page: Optional[str] = None,
|
next_page: Optional[str] = None,
|
||||||
) -> HttpResponse: # nocoverage
|
) -> HttpResponse: # nocoverage
|
||||||
if not settings.DEVELOPMENT or not uses_notification_bouncer():
|
if not uses_notification_bouncer():
|
||||||
return render(request, "404.html", status=404)
|
return render(request, "404.html", status=404)
|
||||||
|
|
||||||
user = request.user
|
user = request.user
|
||||||
|
|||||||
Reference in New Issue
Block a user