##// END OF EJS Templates
notification: don't expand %(when)s in usernames
Mads Kiilerich -
r3255:09757b15 beta
parent child Browse files
Show More
@@ -234,9 +234,9 b' class NotificationModel(BaseModel):'
234 234
235 235 data = dict(
236 236 user=notification.created_by_user.username,
237 action=_map[notification.type_]
237 action=_map[notification.type_] % {'when': when},
238 238 )
239 return (tmpl % data) % {'when': when}
239 return tmpl % data
240 240
241 241
242 242 class EmailNotificationModel(BaseModel):
General Comments 0
You need to be logged in to leave comments. Login now