opened {created_at_ago}
diff --git a/src/lib/components/proposals/Status.svelte b/src/lib/components/proposals/Status.svelte
index fe17853..5f83274 100644
--- a/src/lib/components/proposals/Status.svelte
+++ b/src/lib/components/proposals/Status.svelte
@@ -5,9 +5,11 @@
proposal_status_draft,
proposal_status_open,
} from '$lib/kinds'
+ import { issue_icon_path } from '../issues/icons'
import { proposal_icon_path } from './icons'
export let status: number | undefined = undefined
+ export let type: 'proposal' | 'issue' = 'proposal'
export let edit_mode = false
@@ -32,7 +34,14 @@
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 18 18"
class="h-5 w-5 flex-none fill-success-content pt-1"
- >
+ >
+ {#if type === 'proposal'}
+
+ {:else if type === 'issue'}
+ {#each issue_icon_path.open as p}
+
+ {/each}
+ {/if}
Open
{:else if status === proposal_status_applied}
@@ -40,16 +49,30 @@
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
class="h-5 w-5 flex-none fill-primary-content pt-1"
- >
+ {#if type === 'proposal'}
+
+ {:else if type === 'issue'}
+ {#each issue_icon_path.resolved as p}
+
+ {/each}
+ {/if}
+
Applied
{:else if status === proposal_status_closed}
+ {#if type === 'proposal'}
+
+ {:else if type === 'issue'}
+ {#each issue_icon_path.closed as p}
+
+ {/each}
+ {/if}
+
Closed
{:else if status === proposal_status_draft}