equal
deleted
inserted
replaced
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) |