fix in todo

This commit is contained in:
Anand Doshi 2012-03-22 11:18:28 +05:30
parent f1eb1b1508
commit 98f847c01f

View File

@ -50,7 +50,7 @@ erpnext.todo.ToDoItem = Class.extend({
todo.fullname = repl("[By %(fullname)s] ", { todo.fullname = repl("[By %(fullname)s] ", {
fullname: wn.boot.user_info[todo.assigned_by].fullname fullname: wn.boot.user_info[todo.assigned_by].fullname
}) })
} } else { todo.fullname = ''; }
if(todo.reference_name && todo.reference_type) { if(todo.reference_name && todo.reference_type) {
todo.link = repl('<a href="#!Form/%(reference_type)s/%(reference_name)s">\ todo.link = repl('<a href="#!Form/%(reference_type)s/%(reference_name)s">\
%(reference_type)s: %(reference_name)s</a>', todo); %(reference_type)s: %(reference_name)s</a>', todo);