From 0a09c6a4f99c0ba2e1573de3d0f1f638e586676a Mon Sep 17 00:00:00 2001 From: xaralis <filip.varecha@fragaria.cz> Date: Wed, 6 Jan 2021 11:06:15 +0100 Subject: [PATCH] feat: explain why new proposal won't show right away --- .env | 2 +- src/containers/AddPostForm.jsx | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.env b/.env index ebefc42..2283bc6 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu/2.2.1 +REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu/2.3.0 REACT_APP_API_BASE_URL=https://cf2021.pir-test.eu/api REACT_APP_MATOMO_ID=135 REACT_APP_SENTRY_DSN=https://aa80453ff4d54b9a9c1b49e79060498a@sentry.pir-test.eu/14 diff --git a/src/containers/AddPostForm.jsx b/src/containers/AddPostForm.jsx index ec0b5e8..df584ff 100644 --- a/src/containers/AddPostForm.jsx +++ b/src/containers/AddPostForm.jsx @@ -92,6 +92,17 @@ const AddPostForm = ({ className }) => { </div> </div> + {type === "procedure-proposal" && ( + <p className="alert alert--light text-sm"> + <i className="alert__icon ico--info mr-2 text-lg hidden md:block" /> + <span> + Návrh postupu se v rozpravÄ› zobrazĂ aĹľ potĂ©, co pĹ™edsedajĂcĂ{" "} + <strong>posoudĂ jeho pĹ™ijatelnost</strong>. Po odeslánĂ proto + nepanikaĹ™, Ĺľe jej hned nevidĂš. + </span> + </p> + )} + <div className="space-x-4"> <Button onClick={onAdd} -- GitLab