code improvements

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-07-29 13:15:40 +02:00
parent 90a936b07f
commit a77efb4e41
6 changed files with 22 additions and 19 deletions

View File

@@ -88,7 +88,7 @@
{#if !deleted}
<li class="task {task.status.name.toLowerCase()}">
<LineEditor bind:value={task.name} onclick={openTask} editable={true} onSet={setName} type="span" />
<LineEditor bind:value={task.name} onclick={openTask} editable={true} onSet={setName} type="a" />
{#if task.estimated_time}
<span class="estimated_time">({+task.estimated_time}&nbsp;h)</span>
{/if}
@@ -116,4 +116,4 @@
<TaskList tasks={children} {estimated_time} {show_closed} />
{/if}
</li>
{/if}
{/if}

View File

@@ -162,7 +162,7 @@
{#if project}
<tr>
<th>{t('project')}</th>
<td class="project" onclick={gotoProject}>{project.name}</td>
<td class="project"><a href="" onclick={gotoProject}>{project.name}</a></td>
</tr>
{/if}
{#if task.parent}
@@ -300,4 +300,4 @@
<div class="notes">
<h3>{t('notes')}</h3>
<Notes module="task" entity_id={id} />
</div>
</div>