diff --git a/src/components/problems/LogNewProblemModal.svelte b/src/components/problems/LogNewProblemModal.svelte index 828b971..4152b89 100644 --- a/src/components/problems/LogNewProblemModal.svelte +++ b/src/components/problems/LogNewProblemModal.svelte @@ -124,7 +124,7 @@ + }}>{#if parent?.UID.length == 64}Log a sub-problem{:else}New Problem Now{/if} { {problem?.Title}

Logged by {createdBy?.name}

- - - - - - - - - + @@ -130,9 +122,11 @@ function updateStatus(newStatus:string):Promise {

- -    - {problem?.Closed ? 'Closed' : 'Open'} + {#if problem?.Status == "open" && problem.Children.size > 0} HAS OPEN CHILDREN {/if} + {#if problem?.Status == "open" && problem.Children.size == 0} OPEN AND CAN BE CLAIMED {/if} + {#if problem?.Status == "claimed"} {/if} + {#if problem?.Status == "patched"} PATCHED AND WAITING FOR VALIDATION {/if} + {#if problem?.Status == "patched"} PATCHED AND WAITING FOR VALIDATION {/if}

@@ -144,26 +138,27 @@ function updateStatus(newStatus:string):Promise { - + -
+

Logged by {createdBy?.name}

+ {#if problem?.Status == "claimed"}

Claimed by {claimedBy?.name}

{/if}
- -
Comments
-
- - [TODO] +
-
Take Action
+ + +
+ +