working on user-defined project states and task states

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-01 08:49:05 +02:00
parent c57da0a891
commit 2813fed670
5 changed files with 24 additions and 13 deletions

View File

@@ -63,6 +63,7 @@
const resp = await fetch(url,{credentials:'include'});
if (resp.ok){
project = await resp.json();
console.log(project);
error = null;
loadTasks();
} else {
@@ -185,6 +186,21 @@
<MemberEditor members={project.members} {updatePermission} {addMember} {dropMember} {getCandidates} />
</td>
</tr>
{#if project.allowed_states}
{#each Object.keys(project.allowed_states) as key,idx}
<tr>
<th>
{#if !idx}
{t('allowed_states')}:
{/if}
{key}
</th>
<td>
{project.allowed_states[key]}
</td>
</tr>
{/each}
{/if}
{/if}
{#if estimated_time.sum}
<tr>