working on user-defined states
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
|
||||
|
||||
function updateOn(id){
|
||||
task = null;
|
||||
loadTask();
|
||||
}
|
||||
|
||||
@@ -162,13 +163,17 @@
|
||||
{#if project}
|
||||
<tr>
|
||||
<th>{t('project')}</th>
|
||||
<td class="project"><a href="" onclick={gotoProject}>{project.name}</a></td>
|
||||
<td class="project">
|
||||
<a href="#" onclick={gotoProject}>{project.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{#if task.parent}
|
||||
<tr>
|
||||
<th>{t('parent_task')}</th>
|
||||
<td class="parent" onclick={gotoParent}>{task.parent.name}</td>
|
||||
<td class="parent">
|
||||
<a href="#" onclick={gotoParent}>{task.parent.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
@@ -282,7 +287,7 @@
|
||||
</th>
|
||||
<td class="children">
|
||||
{#if children}
|
||||
<TaskList tasks={children} {estimated_time} show_closed={task.show_closed} />
|
||||
<TaskList states={project?.allowed_states} tasks={children} {estimated_time} show_closed={task.show_closed} />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user