mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-09 01:45:09 +00:00
Co-authored-by: Sakthivel Murugan S <129778327+ssakthivelmurugan@users.noreply.github.com> fix: task gantt popup text not visible in light theme (#53882)
This commit is contained in:
@@ -35,30 +35,30 @@ frappe.listview_settings["Task"] = {
|
||||
},
|
||||
gantt_custom_popup_html: function (ganttobj, task) {
|
||||
let html = `
|
||||
<a class="text-white mb-2 inline-block cursor-pointer"
|
||||
href="/app/task/${ganttobj.id}"">
|
||||
<a class="mb-2 inline-block cursor-pointer"
|
||||
href="/app/task/${ganttobj.id}">
|
||||
${ganttobj.name}
|
||||
</a>
|
||||
`;
|
||||
|
||||
if (task.project) {
|
||||
html += `<p class="mb-1">${__("Project")}:
|
||||
<a class="text-white inline-block"
|
||||
href="/app/project/${task.project}"">
|
||||
<a class="inline-block"
|
||||
href="/app/project/${task.project}">
|
||||
${task.project}
|
||||
</a>
|
||||
</p>`;
|
||||
}
|
||||
html += `<p class="mb-1">
|
||||
${__("Progress")}:
|
||||
<span class="text-white">${ganttobj.progress}%</span>
|
||||
<span>${ganttobj.progress}%</span>
|
||||
</p>`;
|
||||
|
||||
if (task._assign) {
|
||||
const assign_list = JSON.parse(task._assign);
|
||||
const assignment_wrapper = `
|
||||
<span>Assigned to:</span>
|
||||
<span class="text-white">
|
||||
<span>
|
||||
${assign_list.map((user) => frappe.user_info(user).fullname).join(", ")}
|
||||
</span>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user