[gantt] show task project in popup
This commit is contained in:
parent
1a735f2f5a
commit
0e4b924f59
@ -23,6 +23,12 @@ frappe.listview_settings['Task'] = {
|
||||
"Cancelled": "dark grey"
|
||||
}
|
||||
return [__(doc.status), colors[doc.status], "status,=," + doc.status];
|
||||
},
|
||||
gantt_custom_popup_html: function(ganttobj, task) {
|
||||
var html = `<h5>${ganttobj.name}</h5>`;
|
||||
if(task.project) html += `<p>Project: ${task.project}</p>`;
|
||||
html += `<p>Progress: ${ganttobj.progress}</p>`;
|
||||
return html;
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user