Show More
@@ -234,9 +234,9 b' class NotificationModel(BaseModel):' | |||||
234 |
|
234 | |||
235 | data = dict( |
|
235 | data = dict( | |
236 | user=notification.created_by_user.username, |
|
236 | user=notification.created_by_user.username, | |
237 | action=_map[notification.type_] |
|
237 | action=_map[notification.type_] % {'when': when}, | |
238 | ) |
|
238 | ) | |
239 |
return |
|
239 | return tmpl % data | |
240 |
|
240 | |||
241 |
|
241 | |||
242 | class EmailNotificationModel(BaseModel): |
|
242 | class EmailNotificationModel(BaseModel): |
General Comments 0
You need to be logged in to leave comments.
Login now