mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
support: Show sponsorship forms only for non-deactivated realms.
For deactivated realms, we show their sponsorship state (discount, required plan tier, etc.) but not the form to update those fields.
This commit is contained in:
committed by
Tim Abbott
parent
405dc6131f
commit
f9dd3aada3
@@ -132,7 +132,15 @@
|
||||
<button type="submit" class="support-submit-button">Update</button>
|
||||
</form>
|
||||
</div>
|
||||
{% if realm.plan_type != SPONSORED_PLAN_TYPE %}
|
||||
{% if realm.deactivated %}
|
||||
<div class="support-sponsorship-container">
|
||||
{% with %}
|
||||
{% set sponsorship_data = realm_support_data[realm.id].sponsorship_data %}
|
||||
{% set dollar_amount = dollar_amount %}
|
||||
{% include 'corporate/support/sponsorship_details.html' %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% elif realm.plan_type != SPONSORED_PLAN_TYPE %}
|
||||
<div class="support-sponsorship-container">
|
||||
{% with %}
|
||||
{% set sponsorship_data = realm_support_data[realm.id].sponsorship_data %}
|
||||
|
||||
Reference in New Issue
Block a user