From 3c3f996ade3a91ad1d592ce2b80e0d947d82f90e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 13 Jun 2012 12:01:41 +0530 Subject: [PATCH] todo list with assigned to others list --- erpnext/utilities/page/todo/todo.css | 3 ++- erpnext/utilities/page/todo/todo.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/erpnext/utilities/page/todo/todo.css b/erpnext/utilities/page/todo/todo.css index 0b00b3988a..ee9b4f1f37 100644 --- a/erpnext/utilities/page/todo/todo.css +++ b/erpnext/utilities/page/todo/todo.css @@ -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 { diff --git a/erpnext/utilities/page/todo/todo.js b/erpnext/utilities/page/todo/todo.js index bbac46db7c..79279b4f4a 100644 --- a/erpnext/utilities/page/todo/todo.js +++ b/erpnext/utilities/page/todo/todo.js @@ -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 }); }