mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
plans: Send users to /new rather than /upgrade if not logged in.
We can't take users to /upgrade if they aren't on the page for a given realm/organization.
This commit is contained in:
@@ -85,10 +85,10 @@
|
||||
<a href='/upgrade' class="button black-current-value" type="button">
|
||||
Current plan
|
||||
</a>
|
||||
{% elif realm_plan_type == 2 %}
|
||||
<a href="/upgrade" class="button green">
|
||||
{% elif realm_plan_type == 0 %}
|
||||
<a href="/new" class="button green">
|
||||
{% if free_trial_days %}
|
||||
Start {{ free_trial_days }} day Free Trial
|
||||
Start {{ free_trial_days }} day free trial
|
||||
{% else %}
|
||||
Buy Standard
|
||||
{% endif %}
|
||||
@@ -96,7 +96,7 @@
|
||||
{% else %}
|
||||
<a href="/upgrade" class="button green">
|
||||
{% if free_trial_days %}
|
||||
Start {{ free_trial_days }} day Free Trial
|
||||
Start {{ free_trial_days }} day free trial
|
||||
{% else %}
|
||||
Buy Standard
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user