app/soc/views/models/club_app.py
changeset 897 6ba5bf4b3fea
parent 894 11afeeba198c
child 902 0cc7a76f0eb3
equal deleted inserted replaced
896:445f3e8a44d9 897:6ba5bf4b3fea
   257         # this application has been properly reviewed update the status
   257         # this application has been properly reviewed update the status
   258         fields = {'status' : status_value}
   258         fields = {'status' : status_value}
   259 
   259 
   260         self._logic.updateModelProperties(entity, fields)
   260         self._logic.updateModelProperties(entity, fields)
   261         
   261         
   262         if status_value is 'accepted':
   262         if status_value == 'accepted':
   263           # the application has been accepted send out a notification
   263           # the application has been accepted send out a notification
   264           notifications.sendNewClubNotification(entity)
   264           notifications.sendNewClubNotification(entity)
   265 
   265 
   266         return self.reviewOverview(request, access_type,
   266         return self.reviewOverview(request, access_type,
   267             page_name=page_name, params=params, **kwargs)
   267             page_name=page_name, params=params, **kwargs)