From 7ba96400615b0d67fff9b6967408a0dcfbc235b1 Mon Sep 17 00:00:00 2001 From: Basti Ortiz <39114273+BastiDood@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:45:40 +0800 Subject: [PATCH] feat(admin): provide better instructions on how to start drafts --- .../dashboard/(draft)/drafts/+error.svelte | 57 --------------- src/routes/dashboard/drafts/+error.svelte | 71 +++++++++++++++++++ .../{(draft) => }/drafts/+page.server.js | 6 +- .../{(draft) => }/drafts/+page.svelte | 0 4 files changed, 75 insertions(+), 59 deletions(-) delete mode 100644 src/routes/dashboard/(draft)/drafts/+error.svelte create mode 100644 src/routes/dashboard/drafts/+error.svelte rename src/routes/dashboard/{(draft) => }/drafts/+page.server.js (88%) rename src/routes/dashboard/{(draft) => }/drafts/+page.svelte (100%) diff --git a/src/routes/dashboard/(draft)/drafts/+error.svelte b/src/routes/dashboard/(draft)/drafts/+error.svelte deleted file mode 100644 index 6759ff8..0000000 --- a/src/routes/dashboard/(draft)/drafts/+error.svelte +++ /dev/null @@ -1,57 +0,0 @@ - - -{#if status === 499} -
-{:else if error !== null} -+ Welcome to the Draft Ranking Automated Processor! There are currently no drafts + happening at the moment, but as an administrator, you have the authorization to start a new one. +
++ To begin, simply provide the the maximum number of rounds for the upcoming draft. This has historically + been set to 5. +
+