diff --git a/web/src/lib/components/repo/CommitHeader.svelte b/web/src/lib/components/repo/CommitHeader.svelte index 82d4140de..a327e8fb8 100644 --- a/web/src/lib/components/repo/CommitHeader.svelte +++ b/web/src/lib/components/repo/CommitHeader.svelte @@ -6,7 +6,7 @@ root: "flex flex-col gap-4 text-foreground-default", header: "flex flex-col gap-2", headerSubject: "typography-paragraph-large", - headerBody: "typography-monospace-regular whitespace-pre-wrap text-foreground-muted", + headerBody: "typography-monospace-regular whitespace-pre-wrap", commitDetails: "flex flex-col gap-2 typography-paragraph-regular", commitDetailsRow: "inline-flex flex-wrap items-center", commitDetailsTitle: "w-32 text-foreground-muted select-none" @@ -62,7 +62,31 @@
-

{commit.subject}

+ +

+ {commit.subject} + + + master + +

+ {#if pipelineStatuses} + + {@const pipeline = (await pipelineStatuses)[commit.hash]} + {#if pipeline} + + {/if} + + {/if} +
{#if commit.body}

{commit.body} @@ -154,21 +178,4 @@ {/if}

- - {#if pipelineStatuses} - - {@const pipeline = (await pipelineStatuses)[commit.hash]} - {#if pipeline} -
- -
- {/if} -
- {/if}
diff --git a/web/src/lib/components/repo/CommitView.svelte b/web/src/lib/components/repo/CommitView.svelte index 465448a79..220fe314f 100644 --- a/web/src/lib/components/repo/CommitView.svelte +++ b/web/src/lib/components/repo/CommitView.svelte @@ -59,8 +59,8 @@ const blobBase = $derived(resolve(`${base}/blob/${encodeURIComponent(ref)}` as "/")); -
- +
+ {#if mirror} diff --git a/web/src/routes/[handle]/[repo]/+layout@.svelte b/web/src/routes/[handle]/[repo]/+layout@.svelte index 54a08ea51..487cb9478 100644 --- a/web/src/routes/[handle]/[repo]/+layout@.svelte +++ b/web/src/routes/[handle]/[repo]/+layout@.svelte @@ -113,7 +113,7 @@
{#key `${page.params.handle}/${page.params.repo}`}