task name in gantt view - clickable (#11459)
This commit is contained in:
parent
7fd20f303f
commit
d9e2b24535
@ -25,7 +25,9 @@ frappe.listview_settings['Task'] = {
|
|||||||
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
||||||
},
|
},
|
||||||
gantt_custom_popup_html: function(ganttobj, task) {
|
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>`;
|
if(task.project) html += `<p>Project: ${task.project}</p>`;
|
||||||
html += `<p>Progress: ${ganttobj.progress}</p>`;
|
html += `<p>Progress: ${ganttobj.progress}</p>`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user