From 42190e22fbeb414a34ad8b6b9654fef0d466dbc3 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 18 Apr 2021 18:28:53 +0200 Subject: [PATCH] Use short tag displaying on the front page. --- svelte-ui/src/components/ParentEntry.svelte | 5 +++++ svelte-ui/src/components/ProjectEntry.svelte | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/svelte-ui/src/components/ParentEntry.svelte b/svelte-ui/src/components/ParentEntry.svelte index 5af3956..23aa2c4 100644 --- a/svelte-ui/src/components/ParentEntry.svelte +++ b/svelte-ui/src/components/ParentEntry.svelte @@ -7,6 +7,7 @@ import Markdown from "./Markdown.svelte"; import ProjectIcon from "./ProjectIcon.svelte"; import ProjectProgress from "./ProjectProgress.svelte"; +import Tag from "./Tag.svelte"; import TimeProgress from "./TimeProgress.svelte"; interface EntryIconHolder { @@ -26,6 +27,7 @@ import TimeProgress from "./TimeProgress.svelte"; tasks?: TaskResult[] active?: boolean statusName?: string + tags?: string[] } export let entry: EntryCommon; @@ -65,6 +67,9 @@ import TimeProgress from "./TimeProgress.svelte"; {/if}
+ {#if !full && entry.tags && entry.tags.length > 0} + + {/if}
{#if headerLink} {entry.name} diff --git a/svelte-ui/src/components/ProjectEntry.svelte b/svelte-ui/src/components/ProjectEntry.svelte index 08dd026..aa0d7ed 100644 --- a/svelte-ui/src/components/ProjectEntry.svelte +++ b/svelte-ui/src/components/ProjectEntry.svelte @@ -115,7 +115,9 @@ import stuffLogClient from "../clients/stufflog";
- + {#if showAllOptions} + + {/if}
{#if showAllOptions}