working on user-defined project states and task states
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user