From 395dbe4418e47368d83a5c907454f3c73a16a8e3 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 6 May 2023 23:21:25 +0000 Subject: [PATCH] Add warning to members who haven't taken an NMO --- webclient/src/Home.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/webclient/src/Home.js b/webclient/src/Home.js index ccaee22..77ceeb9 100644 --- a/webclient/src/Home.js +++ b/webclient/src/Home.js @@ -94,8 +94,6 @@ function MemberInfo(props) { Latest Training - {unpaidTraining.map(x => Please pay your course fee! @@ -103,6 +101,12 @@ function MemberInfo(props) { )} +
Latest Training
+ + {!member.orientation_date &&

+ ⚠️ You need to attend a New Member Orientation to use any tool larger than a screwdriver. +

} + {lastTrain.length ? @@ -115,7 +119,7 @@ function MemberInfo(props) { ) : - None, please sign up for an Orientation + None } {user.training.length > 3 &&