populating estimated times on task list, added minimum styling
This commit is contained in:
@@ -40,13 +40,13 @@
|
||||
onMount(loadChildren);
|
||||
</script>
|
||||
|
||||
<li>
|
||||
<span onclick={openTask} class={task.status.name.toLowerCase()}>
|
||||
<li class="task {task.status.name.toLowerCase()}">
|
||||
<span class="name" onclick={openTask}>
|
||||
{task.name}
|
||||
{#if task.estimated_time}
|
||||
<span class="error">({+task.estimated_time} h)</span>
|
||||
{/if}
|
||||
</span>
|
||||
{#if task.estimated_time}
|
||||
<span class="estimated_time">({+task.estimated_time} h)</span>
|
||||
{/if}
|
||||
{#if error}
|
||||
<span class="error">{error}</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user