todo list with assigned to others list

This commit is contained in:
Anand Doshi 2012-06-13 12:01:41 +05:30
parent 64ddb9f069
commit 3c3f996ade
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@
}
.todoitem .close {
margin-left: 14px;
margin-left: 5px;
font-size: 17px;
}
@ -31,6 +31,7 @@
cursor: pointer;
padding: 3px 0px;
display: inline-block;
width: 80%;
}
#todo-list, #assigned-todo-list {

View File

@ -50,7 +50,7 @@ erpnext.todo.ToDoItem = Class.extend({
todo.fullname = '';
if(todo.assigned_by) {
todo.fullname = repl("[By %(fullname)s] ", {
todo.fullname = repl("[By %(fullname)s]  ", {
fullname: wn.boot.user_info[todo.assigned_by].fullname
});
}
@ -58,7 +58,7 @@ erpnext.todo.ToDoItem = Class.extend({
var parent_list = "#todo-list";
if(todo.owner !== user) {
parent_list = "#assigned-todo-list";
todo.fullname = repl("[To %(fullname)s] ", {
todo.fullname = repl("[To %(fullname)s]  ", {
fullname: wn.boot.user_info[todo.owner].fullname
});
}