implemented task.total_prio:

- is dependent on the manually set priority of the task
- increases within 100 days before the due date of a task
This commit is contained in:
2025-09-23 09:19:19 +02:00
parent 1b11e96661
commit 236c173ecc
4 changed files with 13 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
let { onclick, ondragstart, task } = $props();
</script>
<div draggable="true" class={`box prio_${task.priority} p${Math.floor(task.priority/10)*10} p${task.priority % 10}`} {onclick} {ondragstart} >
<div draggable="true" class={`box prio_${task.total_prio} p${Math.floor(task.total_prio/10)*10} p${task.total_prio % 10}`} {onclick} {ondragstart} >
<span class="title">{task.name}</span>
{#if task.estimated_time}
<span class="estimate">