Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-02-09 20:55:07 +01:00
parent 51b97f6821
commit 9e147528a4
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@
<thead>
<tr>
<th>Name</th>
<th>&nbsp;</th>
<th>Manager</th>
</tr>
</thead>
<tbody>

View File

@@ -5364,7 +5364,7 @@ def rower_teams_view(request):
def rower_teams_view(request):
r = Rower.objects.get(user=request.user)
ts = Team.objects.filter(rower=r)
myteams = Team.objects.filter(manager=request.user)
myteams = Team.objects.filter(manager=request.user)
otherteams = Team.objects.filter(private='open').exclude(rower=r).exclude(manager=request.user).order_by('name')
teams.remove_expired_invites()