Changeset - 4f888ffd576e
[Not reviewed]
0 1 0
James Tauber - 12 years ago 2012-08-02 02:28:57
jtauber@jtauber.com
include state in team detail context vars
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
symposion/teams/views.py
Show inline comments
...
 
@@ -11,3 +11,4 @@ def team_detail(request, slug):
 
    team = get_object_or_404(Team, slug=slug)
 
    if team.access == "invitation" and team.get_state_for_user(request.user) is None:
 
    state = team.get_state_for_user(request.user)
 
    if team.access == "invitation" and state is None:
 
        raise Http404()
...
 
@@ -16,2 +17,3 @@ def team_detail(request, slug):
 
        "team": team,
 
        "state": state,
 
    })
0 comments (0 inline, 0 general)