From 14b51033fc9ca2188a0140893a56c0a249b3e118 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 24 Jul 2022 18:09:04 +0200 Subject: add placeholders for empty lists --- web/pw-server/src/routes/bots/[bot_name].svelte | 3 +++ web/pw-server/src/routes/users/[user_name].svelte | 3 +++ 2 files changed, 6 insertions(+) (limited to 'web/pw-server/src/routes') diff --git a/web/pw-server/src/routes/bots/[bot_name].svelte b/web/pw-server/src/routes/bots/[bot_name].svelte index 9e9f016..33a522f 100644 --- a/web/pw-server/src/routes/bots/[bot_name].svelte +++ b/web/pw-server/src/routes/bots/[bot_name].svelte @@ -101,6 +101,9 @@ {/each} + {#if versions.length == 0} + This bot does not have any versions yet. + {/if} diff --git a/web/pw-server/src/routes/users/[user_name].svelte b/web/pw-server/src/routes/users/[user_name].svelte index b6bd34e..c0267b8 100644 --- a/web/pw-server/src/routes/users/[user_name].svelte +++ b/web/pw-server/src/routes/users/[user_name].svelte @@ -41,6 +41,9 @@ {/each} + {#if bots.length == 0} + This user does not have any bots yet. + {/if}