diff --git a/rowers/middleware.py b/rowers/middleware.py index 3b58f0c8..7b9abb86 100644 --- a/rowers/middleware.py +++ b/rowers/middleware.py @@ -137,10 +137,6 @@ class RowerPlanMiddleWare(object): r.paidplan = basicplans[0] r.save() # remove from Free Coach groups - for group in r.coachinggroups.all(): - coach = rower.objects.get(mycoachgroup=group) - if coach.rowerplan == 'freecoach': - r.coachinggroups.remove(group) # send email job = myqueue(queue, diff --git a/rowers/templates/team.html b/rowers/templates/team.html index 59c0fc34..81873dee 100644 --- a/rowers/templates/team.html +++ b/rowers/templates/team.html @@ -54,6 +54,14 @@ {% if team.manager == user %}
Use the form to add a new user. You can either select a user from the list of your existing club members who are not on this team yet, or you can type the user's email address, which also works for users who have not registered to the site yet.
+ {% if team.manager.rower.rowerplan == 'freecoach' %} ++ As a Free Coach user, your team members can only be users on a paid + plan. You can also upgrade to a + Paid Coach Plan + which allows you to coach users on a free Rower Plan. +
+ {% endif %} {% if inviteform.errors %}Please correct the error{{ inviteform.errors|pluralize }} below.