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: Fix offer of sponsorship when self-hosting.

Tim Abbott8a0428ffa5d7
diff --git a/web/templates/gear_menu_popover.hbs b/web/templates/gear_menu_popover.hbs
index 6b134eff9ae..941a4b8318a 100644
--- a/web/templates/gear_menu_popover.hbs
+++ b/web/templates/gear_menu_popover.hbs
@@ -26,7 +26,7 @@
{{/if}}
</li>
{{/if}}
- {{#if (and user_has_billing_access (not is_plan_standard_sponsored_for_free)) }}
+ {{#if (and (not is_self_hosted) user_has_billing_access (not is_plan_standard_sponsored_for_free)) }}
{{#if sponsorship_pending }}
<li class="org-upgrade navbar-dropdown-menu-inner-list-item">
<a href="/sponsorship/" target="_blank" rel="noopener noreferrer" class="navigate-link-on-enter navbar-dropdown-menu-link">{{t "Sponsorship request pending" }}</a>