widget leantime refactor

This commit is contained in:
alma 2026-01-15 23:24:51 +01:00
parent 88cd714566
commit 35fe260914

View File

@ -342,11 +342,13 @@ export function Duties() {
</a> </a>
<div className="flex items-center text-gray-500 text-[10px] bg-gray-50 px-1.5 py-0.5 rounded-md"> <div className="flex items-center text-gray-500 text-[10px] bg-gray-50 px-1.5 py-0.5 rounded-md">
<Folder className="h-2.5 w-2.5 mr-1 opacity-70" /> <Folder className="h-2.5 w-2.5 mr-1 opacity-70" />
<span className="truncate">{task.projectName}</span>
{(task as any).source === 'twenty-crm' ? ( {(task as any).source === 'twenty-crm' ? (
<span className="ml-1 text-[9px] text-purple-600 font-medium">SLM IF (Médiation)</span> <span className="text-[9px] text-purple-600 font-medium">SLM IF (Médiation)</span>
) : ( ) : (
<span className="ml-1 text-[9px] text-blue-600 font-medium">(Agilité)</span> <>
<span className="truncate">{task.projectName}</span>
<span className="ml-1 text-[9px] text-blue-600 font-medium">(Agilité)</span>
</>
)} )}
</div> </div>
</div> </div>