diff -r c13c0e78b0ca -r c27132146767 src/cm/views/user.py --- a/src/cm/views/user.py Thu Dec 10 15:07:47 2009 +0100 +++ b/src/cm/views/user.py Thu Dec 10 16:11:57 2009 +0100 @@ -22,6 +22,7 @@ from cm.views import get_keys_from_dict from cm.security import has_global_perm from cm.exception import UnauthorizedException +from cm.cm_settings import SHOW_EMAILS_IN_ADMIN from tagging.models import Tag import sys import re @@ -109,6 +110,7 @@ 'display_suspended_users' : display_suspended_users, 'tag_list' : Tag.objects.usage_for_model(UserProfile), 'tag_selected': tag_selected, + 'SHOW_EMAILS_IN_ADMIN': SHOW_EMAILS_IN_ADMIN, } query = UserRole.objects.select_related().filter(text=None).filter(~Q(user=None)).order_by(order_by)