Changeset - eb2382d3ac35
[Not reviewed]
0 1 0
James Tauber - 12 years ago 2012-08-02 14:17:01
jtauber@jtauber.com
staff can now see all teams on dashboard
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
symposion/teams/templatetags/teams_tags.py
Show inline comments
...
 
@@ -27,6 +27,8 @@ class AvailableTeamsNode(template.Node):
 
                teams.append(team)
 
            elif team.access == "open" and state is None:
 
                teams.append(team)
 
            elif request.user.is_staff and state is None:
 
                teams.append(team)
 
        context[self.context_var] = teams
 
        return u""
 

	
0 comments (0 inline, 0 general)