diff --git a/src/lib/components/lines-and-dots/workflow-detail.svelte b/src/lib/components/lines-and-dots/workflow-detail.svelte index 08e25d0a2..6fa461612 100644 --- a/src/lib/components/lines-and-dots/workflow-detail.svelte +++ b/src/lib/components/lines-and-dots/workflow-detail.svelte @@ -16,21 +16,23 @@ export let badge = false; -

+

+ {#if title} + {title} + {/if} + {#if icon} + + {/if} {#if copyable} - {#if icon} - - {/if} - {#if title} - {title} - {/if} {#if href} {/if} + {:else if href} + {content} {:else} - {#if title} - {title} - {/if} - {#if icon} - - {/if} - {#if href} - {content} + {content} - {:else} - - {content} - - {/if} + {/if}

diff --git a/src/lib/components/lines-and-dots/workflow-details.svelte b/src/lib/components/lines-and-dots/workflow-details.svelte index 954ed9308..70953e956 100644 --- a/src/lib/components/lines-and-dots/workflow-details.svelte +++ b/src/lib/components/lines-and-dots/workflow-details.svelte @@ -8,6 +8,7 @@ import { formatDistanceAbbreviated } from '$lib/utilities/format-time'; import { routeForWorkers, + routeForWorkflow, routeForWorkflowsWithQuery, } from '$lib/utilities/route-for'; @@ -22,15 +23,8 @@ }); -
-
- +
+
- - diff --git a/src/lib/holocene/code-block.svelte b/src/lib/holocene/code-block.svelte index 27a6971f4..4e8b123b0 100644 --- a/src/lib/holocene/code-block.svelte +++ b/src/lib/holocene/code-block.svelte @@ -188,7 +188,7 @@ $: content, language, setView(); -
+
-
+
@@ -176,7 +176,7 @@
{/if} - + {:else} -
+