From 2fd42f7b6c8a26c39c3b9afc0a371b8cea07a8a9 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 22 Dec 2021 05:59:34 +0000 Subject: [PATCH] Rename sections of UI to include "Your" --- webclient/src/App.js | 2 +- webclient/src/Cards.js | 2 +- webclient/src/PasswordReset.js | 10 +++++++--- webclient/src/Training.js | 4 ++-- webclient/src/Transactions.js | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/webclient/src/App.js b/webclient/src/App.js index c850192..644beb2 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -185,7 +185,7 @@ function App() { />} {user && isAdmin(user) && } diff --git a/webclient/src/Cards.js b/webclient/src/Cards.js index 10eb768..872e5ad 100644 --- a/webclient/src/Cards.js +++ b/webclient/src/Cards.js @@ -17,7 +17,7 @@ export function Cards(props) {
Cards / Access
-
Member Cards
+
Your Cards
{user.member.card_photo ?

diff --git a/webclient/src/PasswordReset.js b/webclient/src/PasswordReset.js index 0b35e47..e837224 100644 --- a/webclient/src/PasswordReset.js +++ b/webclient/src/PasswordReset.js @@ -132,9 +132,13 @@ function ConfirmForm() { {progress.map(x => <>{x}
)}

- - Submit - + {success ? +

Return Home to log in.

+ : + + Submit + + } ); }; diff --git a/webclient/src/Training.js b/webclient/src/Training.js index 72d154f..82e975e 100644 --- a/webclient/src/Training.js +++ b/webclient/src/Training.js @@ -113,13 +113,13 @@ export function Training(props) { return ( -
Certifications
+
Your Certifications

Certifications are based on the courses you've taken. If there's any errors, please email directors@protospace.ca.

-
Training
+
Your Training
{user.training.length ? diff --git a/webclient/src/Transactions.js b/webclient/src/Transactions.js index 6778025..e4c87ae 100644 --- a/webclient/src/Transactions.js +++ b/webclient/src/Transactions.js @@ -310,7 +310,7 @@ export function Transactions(props) { return ( -
Transactions
+
Your Transactions