Direct users to renewal page on Store instead of /join
/join should only be used when someone can actually buy a new subscription. /renew should be used when someone already has a subscription that needs to be renewed. Since url_for('cloud.xxxx') makes no sense in Pillar, I just hard-coded /renew instead.
This commit is contained in:
@@ -74,6 +74,15 @@
|
||||
| Download
|
||||
| {% endif %}
|
||||
|
||||
| {% elif current_user.has_cap('can-renew-subscription') %}
|
||||
li.download
|
||||
a.btn.btn-success(
|
||||
title="Renew your subscription to download",
|
||||
target="_blank",
|
||||
href="/renew")
|
||||
i.pi-heart
|
||||
| Renew subscription to download
|
||||
|
||||
| {% elif current_user.is_authenticated %}
|
||||
li.download
|
||||
a.btn(
|
||||
|
Reference in New Issue
Block a user