From 899fe5d3f091e5c580eefff2e9fb2816f785f0dc Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 8 Aug 2012 15:30:19 +0530 Subject: [PATCH] links enabled in todo --- erpnext/utilities/page/todo/todo.css | 4 ---- erpnext/utilities/page/todo/todo.js | 10 ++++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/erpnext/utilities/page/todo/todo.css b/erpnext/utilities/page/todo/todo.css index 9fe595587a..7cd7e4f02c 100644 --- a/erpnext/utilities/page/todo/todo.css +++ b/erpnext/utilities/page/todo/todo.css @@ -23,10 +23,6 @@ float: right; } -.todoitem .ref_link { - line-height: 18px; -} - .todoitem .description { cursor: pointer; padding: 3px 0px; diff --git a/erpnext/utilities/page/todo/todo.js b/erpnext/utilities/page/todo/todo.js index 89c1ed8024..39c8c2de01 100644 --- a/erpnext/utilities/page/todo/todo.js +++ b/erpnext/utilities/page/todo/todo.js @@ -79,10 +79,10 @@ erpnext.todo.ToDoItem = Class.extend({ parent_list += " div.todo-content"; if(todo.reference_name && todo.reference_type) { - todo.link = repl('\ + todo.link = repl('
\ %(reference_type)s: %(reference_name)s', todo); } else if(todo.reference_type) { - todo.link = repl('\ + todo.link = repl('
\ %(reference_type)s', todo); } else { todo.link = ''; @@ -95,12 +95,10 @@ erpnext.todo.ToDoItem = Class.extend({
\ %(priority)s\ \ - \ %(userdate)s\ %(fullname)s%(desc)s\ - \ -
\ - %(link)s
\ + [edit]\ + %(link)s\
\ ×\
\