equal
deleted
inserted
replaced
192 user = user_logic.logic.getForCurrentAccount() |
192 user = user_logic.logic.getForCurrentAccount() |
193 |
193 |
194 # if the message is meant for the user that is reading it |
194 # if the message is meant for the user that is reading it |
195 if entity.scope.key() == user.key(): |
195 if entity.scope.key() == user.key(): |
196 # mark the entity as read |
196 # mark the entity as read |
197 self._logic.updateModelProperties(entity, {'unread' : False} ) |
197 self._logic.updateEntityProperties(entity, {'unread' : False} ) |
198 |
198 |
199 context['entity_type_url'] = self._params['url_name'] |
199 context['entity_type_url'] = self._params['url_name'] |
200 context['entity_suffix'] = self._logic.getKeySuffix(entity) |
200 context['entity_suffix'] = self._logic.getKeySuffix(entity) |
201 |
201 |
202 |
202 |