mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	gear_menu_popover: Enable Plan management in production.
				
					
				
			This commit is contained in:
		@@ -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' }}
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user