Merge pull request #7938 from netchampfaris/task-list
[gantt] show task project in popup
This commit is contained in:
commit
1af471a16f
@ -23,6 +23,12 @@ frappe.listview_settings['Task'] = {
|
|||||||
"Cancelled": "dark grey"
|
"Cancelled": "dark grey"
|
||||||
}
|
}
|
||||||
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) {
|
||||||
|
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