Skip to content

Commit

Permalink
task name in gantt view - clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashah115 committed Nov 6, 2017
1 parent 36e2fb8 commit 728e18d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erpnext/projects/doctype/task/task_list.js
Expand Up @@ -25,7 +25,9 @@ frappe.listview_settings['Task'] = {
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
},
gantt_custom_popup_html: function(ganttobj, task) {
var html = `<h5>${ganttobj.name}</h5>`;
var html = `<h5><a style="text-decoration:underline"\
href="#Form/Task/${ganttobj.id}""> ${ganttobj.name} </a></h5>`;

if(task.project) html += `<p>Project: ${task.project}</p>`;
html += `<p>Progress: ${ganttobj.progress}</p>`;

Expand Down

0 comments on commit 728e18d

Please sign in to comment.