buy now flow complete except email confirmation
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<h2>Account Information</h2>
|
||||
<p>
|
||||
{% if rower.user == user %}
|
||||
<a class="button blue small" href="/password_change/">Password Change</a>
|
||||
<a href="/password_change/">Password Change</a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
@@ -34,29 +34,49 @@
|
||||
{{ userform.as_table }}
|
||||
{{ accountform.as_table }}
|
||||
<tr>
|
||||
<th>Plan</th><td>{{ rower.rowerplan }}</td>
|
||||
<th> </th><td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Plan Expiry</th><td>{{ rower.planexpires }}</td>
|
||||
<th>Plan</th><td>{{ rower.paidplan.name }}</td>
|
||||
</tr>
|
||||
{% if rower.rowerplan != 'basic' %}
|
||||
<tr>
|
||||
<th>
|
||||
{% if rower.paymenttype != 'recurring' %}
|
||||
Plan Expiry
|
||||
{% else %}
|
||||
Next Payment Due
|
||||
{% endif %}
|
||||
</th><td>{{ rower.planexpires }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
{% if rower.rowerplan == 'basic' and rower.user == user %}
|
||||
<a class="button blue" href="/rowers/promembership">Upgrade</a>
|
||||
{% if rower.rowerplan != 'coach' and rower.user == user %}
|
||||
<p>
|
||||
<a href="/rowers/paidplans">Upgrade</a>
|
||||
</p>
|
||||
{% else %}
|
||||
|
||||
<p>
|
||||
|
||||
</p>
|
||||
{% endif %}
|
||||
<input class="button green" type="submit" value="Save">
|
||||
{% if rower.rowerplan != 'basic' and rower.user == user %}
|
||||
<p>
|
||||
<a href="/rowers/me/cancelsubscriptions">Cancel Subscription</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
<input type="submit" value="Save">
|
||||
</form>
|
||||
</li>
|
||||
{% if rower.user == user %}
|
||||
<li class="grid_2">
|
||||
<h2>GDPR - Data Protection</h2>
|
||||
<p>
|
||||
<a class="button blue small" href="/rowers/exportallworkouts">Download your data</a>
|
||||
<a href="/rowers/exportallworkouts">Download your data</a>
|
||||
</p>
|
||||
<p>
|
||||
<a class="button blue small" href="/rowers/me/deactivate">Deactivate Account</a>
|
||||
<a href="/rowers/me/deactivate">Deactivate Account</a>
|
||||
</p>
|
||||
<p>
|
||||
<a class="button red small" href="/rowers/me/delete">Delete Account</a>
|
||||
@@ -79,7 +99,7 @@
|
||||
<td>{{ grant.application }}</td>
|
||||
<td>{{ grant.scope }}</td>
|
||||
<td>
|
||||
<a class="button red small" href="/rowers/me/revokeapp/{{ grant.application.id }}">Revoke</a>
|
||||
<a href="/rowers/me/revokeapp/{{ grant.application.id }}">Revoke</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user