populating estimated times on task list, added minimum styling

This commit is contained in:
2025-07-20 00:24:46 +02:00
parent 8ab3e8792a
commit 20d527286b
3 changed files with 24 additions and 11 deletions

View File

@@ -44,16 +44,16 @@
{/if}
{#if project}
<table>
<table class="project">
<tbody>
<tr>
<th>{t('project')}</th>
<td>{project.name}</td>
<td class="name">{project.name}</td>
</tr>
{#if project.company}
<tr>
<th>{t('company')}</th>
<td>{project.company.name}</td>
<td class="company">{project.company.name}</td>
</tr>
{/if}
<tr>
@@ -66,17 +66,17 @@
</tr>
<tr>
<th>{t('description')}</th>
<td>{@html project.description.rendered}</td>
<td class="description">{@html project.description.rendered}</td>
</tr>
{#if estimated_time.sum}
<tr>
<th>{t('estimated_time')}</th>
<td>{estimated_time.sum} h</td>
<td class="estimated_time">{estimated_time.sum} h</td>
</tr>
{/if}
<tr>
<th>{t('tasks')}</th>
<td>
<td class="tasks">
{#if tasks}
<TaskList {tasks} bind:estimated_time={estimated_time} />
{/if}