mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[ui] show assignees in gantt popup frappe/erpnext#6916
This commit is contained in:
@@ -28,6 +28,13 @@ frappe.listview_settings['Task'] = {
|
|||||||
var html = `<h5>${ganttobj.name}</h5>`;
|
var html = `<h5>${ganttobj.name}</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>`;
|
||||||
|
|
||||||
|
if(task._assign_list) {
|
||||||
|
html += task._assign_list.reduce(
|
||||||
|
(html, user) => html + frappe.avatar(user)
|
||||||
|
, '');
|
||||||
|
}
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user