working leantime widget 90
This commit is contained in:
parent
6e9e747c33
commit
36a0d3ca19
@ -135,26 +135,26 @@ export function Flow() {
|
||||
) : tasks.length === 0 ? (
|
||||
<div className="text-sm text-muted-foreground text-center">No tasks found</div>
|
||||
) : (
|
||||
<div className="space-y-3">
|
||||
<div className="space-y-2 max-h-[400px] overflow-y-auto pr-2">
|
||||
{tasks.map((task) => (
|
||||
<div
|
||||
key={task.id}
|
||||
className="p-4 rounded-2xl bg-white/90 shadow-sm hover:shadow-md transition-all duration-200"
|
||||
className="p-3 rounded-xl bg-white/90 shadow-sm hover:shadow-md transition-all duration-200"
|
||||
>
|
||||
<div className="space-y-2">
|
||||
<div className="space-y-1">
|
||||
<a
|
||||
href={`https://agilite.slm-lab.net/tickets/showTicket/${task.id}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-blue-500 hover:text-blue-600 font-medium block text-lg"
|
||||
className="text-blue-500 hover:text-blue-600 font-medium block text-base line-clamp-2"
|
||||
>
|
||||
{task.headline}
|
||||
</a>
|
||||
<div className="flex items-center text-gray-500">
|
||||
<Folder className="h-4 w-4 mr-2 opacity-70" />
|
||||
<span className="text-sm">{task.projectName}</span>
|
||||
<div className="flex items-center text-gray-500 text-xs">
|
||||
<Folder className="h-3 w-3 mr-1 opacity-70" />
|
||||
<span className="truncate">{task.projectName}</span>
|
||||
{task.dateToFinish && task.dateToFinish !== '0000-00-00 00:00:00' && (
|
||||
<span className="ml-4 text-sm">
|
||||
<span className="ml-2">
|
||||
Due: {new Date(task.dateToFinish).toLocaleDateString()}
|
||||
</span>
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user