~mhall119/loco-team-portal/fixes-619886

« back to all changes in this revision

Viewing changes to loco_directory/teams/views.py

  • Committer: Daniel Holbach
  • Date: 2010-08-04 13:41:58 UTC
  • mfrom: (218.1.1 613057)
  • Revision ID: daniel.holbach@canonical.com-20100804134158-umb7t1nk00jcrwcg
mergedĀ lp:~mhall119/loco-directory/fixes-613057

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    is_admin = False
97
97
    if request.user.is_authenticated():
98
98
        is_member = launchpad.is_team_member(request.user, team_object)
99
 
        is_admin = launchpad.is_admin_or_owner(request.user.username, team_object)
 
99
        is_admin = launchpad.is_admin_or_owner(request.user.username, team_object) or launchpad.is_user_on_loco_council(request.user)
100
100
    context = {
101
101
        'team': team_object,
102
102
        'is_member' : is_member,