Changeset - 09757b15ce7c
[Not reviewed]
beta
0 1 0
Mads Kiilerich - 13 years ago 2013-01-29 03:21:21
madski@unity3d.com
notification: don't expand %(when)s in usernames
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/notification.py
Show inline comments
 
@@ -234,9 +234,9 @@ class NotificationModel(BaseModel):
 

	
 
        data = dict(
 
            user=notification.created_by_user.username,
 
            action=_map[notification.type_]
 
            action=_map[notification.type_] % {'when': when},
 
        )
 
        return (tmpl % data) % {'when': when}
 
        return tmpl % data
 

	
 

	
 
class EmailNotificationModel(BaseModel):
0 comments (0 inline, 0 general)