diff --git a/Brie/brie/controllers/root.py b/Brie/brie/controllers/root.py index f6ba665..9fe694d 100644 --- a/Brie/brie/controllers/root.py +++ b/Brie/brie/controllers/root.py @@ -22,6 +22,7 @@ from brie.controllers.search import SearchController from brie.controllers.edit import EditController from brie.controllers.administration import AdministrationController from brie.controllers.stats import StatsController +from brie.controllers.getemails import GetEmailsController from brie.controllers.error import ErrorController from brie.controllers.registration import RegistrationController from brie.controllers.treasury import TreasuryController @@ -54,6 +55,7 @@ class RootController(BaseController): edit = EditController(show) administration = AdministrationController() stats = StatsController() + getemails = GetEmailsController() error = ErrorController() search = SearchController() registration = RegistrationController(edit) diff --git a/Brie/brie/lib/aurore_helper.py b/Brie/brie/lib/aurore_helper.py index 2ace113..d51862d 100644 --- a/Brie/brie/lib/aurore_helper.py +++ b/Brie/brie/lib/aurore_helper.py @@ -190,7 +190,6 @@ class CotisationComputes: cotisation_paid_members = [] cotisation_late_members = [] no_cotisation_members = [] - WTF_members = [] for member in members: if CotisationComputes.is_old_member(member, user_session, residence_dn): old_members.append(member) @@ -202,11 +201,11 @@ class CotisationComputes: elif CotisationComputes.is_no_cotisation(member, user_session, residence_dn): no_cotisation_members.append(member) else: - WTF_members.append(member) + print "DEBUG : member with weird status !" #end if #end for - return dict(old_members=old_members, cotisation_paid_members=cotisation_paid_members, cotisation_late_members=cotisation_late_members, no_cotisation_members=no_cotisation_members, WTF_members=WTF_members) + return dict(old_members=old_members, cotisation_paid_members=cotisation_paid_members, cotisation_late_members=cotisation_late_members, no_cotisation_members=no_cotisation_members) #end def #end class diff --git a/Brie/brie/templates/rooms/index.html b/Brie/brie/templates/rooms/index.html index e268d06..9eabd91 100644 --- a/Brie/brie/templates/rooms/index.html +++ b/Brie/brie/templates/rooms/index.html @@ -30,10 +30,6 @@
${"%03d" % len(stats['old_members'])}
Anciens membres -
-
${"%03d" % len(stats['WTF_members'])}
- Membres WTF -
${"%03d" % stats['number_of_rooms']}
Pièces