todo list with assigned to others list
This commit is contained in:
parent
64ddb9f069
commit
3c3f996ade
@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.todoitem .close {
|
.todoitem .close {
|
||||||
margin-left: 14px;
|
margin-left: 5px;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,6 +31,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 3px 0px;
|
padding: 3px 0px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#todo-list, #assigned-todo-list {
|
#todo-list, #assigned-todo-list {
|
||||||
|
@ -50,7 +50,7 @@ erpnext.todo.ToDoItem = Class.extend({
|
|||||||
|
|
||||||
todo.fullname = '';
|
todo.fullname = '';
|
||||||
if(todo.assigned_by) {
|
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
|
fullname: wn.boot.user_info[todo.assigned_by].fullname
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ erpnext.todo.ToDoItem = Class.extend({
|
|||||||
var parent_list = "#todo-list";
|
var parent_list = "#todo-list";
|
||||||
if(todo.owner !== user) {
|
if(todo.owner !== user) {
|
||||||
parent_list = "#assigned-todo-list";
|
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
|
fullname: wn.boot.user_info[todo.owner].fullname
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user