Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evrenesat committed Jul 19, 2016
1 parent 946cf4c commit 86c5fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions zengine/messaging/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def serialize(self, user=None):
'title': self.msg_title,
'sender_name': self.sender.full_name,
'sender_key': self.sender.key,
'avatar_url': self.sender.avatar,
'key': self.key,
'actions': self.get_actions_for(user),
}
Expand Down
1 change: 1 addition & 0 deletions zengine/messaging/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'sender_name': string,
'sender_key': key,
'type': int,
'avatar_url': string,
'key': key,
'actions':[('action name', 'view name'),
('Add to Favorite', '_zops_add_to_favorites'), # applicable to everyone
Expand Down

0 comments on commit 86c5fa8

Please sign in to comment.