diff --git a/src/components/Icon.svelte b/src/components/Icon.svelte index 8952c1d40..be1684e2d 100644 --- a/src/components/Icon.svelte +++ b/src/components/Icon.svelte @@ -32,16 +32,19 @@ | "home" | "inbox" | "issue" + | "issue-closed" | "label" | "lock" | "markdown" - | "merge" | "moon" | "more-vertical" | "none" | "offline" | "online" | "patch" + | "patch-archived" + | "patch-draft" + | "patch-merged" | "pen" | "plus" | "reply" @@ -501,6 +504,31 @@ + {:else if name === "issue-closed"} + + + + + + + + + + + + + + + + + + + + + + + + {:else if name === "label"} @@ -559,16 +587,6 @@ - {:else if name === "merge"} - - - {:else if name === "moon"} @@ -696,13 +714,39 @@ {:else if name === "patch"} - - - - - - - + + + + {:else if name === "patch-archived"} + + + + + + + + + + + + {:else if name === "patch-draft"} + + + + + + + + + {:else if name === "patch-merged"} + + + + + + {:else if name === "pen"} diff --git a/src/components/IssueTeaser.svelte b/src/components/IssueTeaser.svelte index fa26dfb6f..0f2751899 100644 --- a/src/components/IssueTeaser.svelte +++ b/src/components/IssueTeaser.svelte @@ -81,7 +81,11 @@ class="global-counter status" style:color={issueStatusColor[issue.state.status]} style:background-color={issueStatusBackgroundColor[issue.state.status]}> - + {#if issue.state.status === "open"} + + {:else} + + {/if}
- + {#if op.state.status === "open"} + + {:else} + + {/if}
diff --git a/src/components/IssuesSecondColumn.svelte b/src/components/IssuesSecondColumn.svelte index 4227c8cab..b316d85fe 100644 --- a/src/components/IssuesSecondColumn.svelte +++ b/src/components/IssuesSecondColumn.svelte @@ -111,7 +111,7 @@
- Closed + Closed
{project.meta.issues.closed} diff --git a/src/components/PatchTeaser.svelte b/src/components/PatchTeaser.svelte index 77938dd50..115b0ed99 100644 --- a/src/components/PatchTeaser.svelte +++ b/src/components/PatchTeaser.svelte @@ -89,7 +89,10 @@ class="global-counter status" style:color={patchStatusColor[patch.state.status]} style:background-color={patchStatusBackgroundColor[patch.state.status]}> - +
- +
@@ -213,7 +216,7 @@ {:else if op.type === "merge"}
- +
diff --git a/src/components/PatchesSecondColumn.svelte b/src/components/PatchesSecondColumn.svelte index 08884c7e5..303b220fd 100644 --- a/src/components/PatchesSecondColumn.svelte +++ b/src/components/PatchesSecondColumn.svelte @@ -137,7 +137,7 @@
- Merged + Merged
{project.meta.patches.merged} @@ -157,7 +157,7 @@
- Archived + Archived
{project.meta.patches.archived} @@ -176,7 +176,7 @@
- + Draft
diff --git a/src/components/RevisionSelector.svelte b/src/components/RevisionSelector.svelte index 434545191..deb90275e 100644 --- a/src/components/RevisionSelector.svelte +++ b/src/components/RevisionSelector.svelte @@ -88,7 +88,7 @@
{#if patch.state.status === "merged" && patch.state.revision === revision.id}
- +
{:else if revision.reviews && revision.reviews.length > 0 && revision.reviews.every( r => { return r.verdict === "accept"; diff --git a/src/components/Sidebar.svelte b/src/components/Sidebar.svelte index 2745c5927..cf9ff4824 100644 --- a/src/components/Sidebar.svelte +++ b/src/components/Sidebar.svelte @@ -65,7 +65,11 @@ style:color={activeTab.status === "all" ? undefined : issueStatusColor[activeTab.status]}> - + {#if activeTab.status === "open"} + + {:else} + + {/if}
{:else} @@ -100,7 +104,11 @@ style:color={activeTab.status ? patchStatusColor[activeTab.status] : undefined}> - + {#if activeTab.status === "open" || activeTab.status === undefined} + + {:else} + + {/if}
{:else} diff --git a/src/views/repo/Issue.svelte b/src/views/repo/Issue.svelte index 8989938d0..2b9838884 100644 --- a/src/views/repo/Issue.svelte +++ b/src/views/repo/Issue.svelte @@ -410,7 +410,11 @@ style:background-color={issueStatusBackgroundColor[ issue.state.status ]}> - + {#if issue.state.status === "open"} + + {:else} + + {/if}
0} @@ -451,7 +455,11 @@ style:background-color={issueStatusBackgroundColor[ issue.state.status ]}> - + {#if issue.state.status === "open"} + + {:else} + + {/if}
diff --git a/src/views/repo/Patch.svelte b/src/views/repo/Patch.svelte index 52cee8005..ec69aec38 100644 --- a/src/views/repo/Patch.svelte +++ b/src/views/repo/Patch.svelte @@ -332,7 +332,10 @@ style:background-color={patchStatusBackgroundColor[ patch.state.status ]}> - +
- +