Rename sections of UI to include "Your"

This commit is contained in:
Tanner Collin 2021-12-22 05:59:34 +00:00
parent 9d15ea7334
commit 2fd42f7b6c
5 changed files with 12 additions and 8 deletions

View File

@ -185,7 +185,7 @@ function App() {
/>} />}
{user && isAdmin(user) && <Dropdown.Item {user && isAdmin(user) && <Dropdown.Item
content='Admin Txs' content='Transactions'
as={Link} as={Link}
to='/admintrans' to='/admintrans'
/>} />}

View File

@ -17,7 +17,7 @@ export function Cards(props) {
<Container> <Container>
<Header size='large'>Cards / Access</Header> <Header size='large'>Cards / Access</Header>
<Header size='medium'>Member Cards</Header> <Header size='medium'>Your Cards</Header>
{user.member.card_photo ? {user.member.card_photo ?
<p> <p>

View File

@ -132,9 +132,13 @@ function ConfirmForm() {
{progress.map(x => <>{x}<br /></>)} {progress.map(x => <>{x}<br /></>)}
</p> </p>
{success ?
<p><Link to='/'>Return Home</Link> to log in.</p>
:
<Form.Button loading={loading} error={error.non_field_errors}> <Form.Button loading={loading} error={error.non_field_errors}>
Submit Submit
</Form.Button> </Form.Button>
}
</Form> </Form>
); );
}; };

View File

@ -113,13 +113,13 @@ export function Training(props) {
return ( return (
<Container> <Container>
<Header size='large'>Certifications</Header> <Header size='large'>Your Certifications</Header>
<CertList member={user.member} /> <CertList member={user.member} />
<p>Certifications are based on the courses you've taken. If there's any errors, please email <a href='mailto:directors@protospace.ca'>directors@protospace.ca</a>.</p> <p>Certifications are based on the courses you've taken. If there's any errors, please email <a href='mailto:directors@protospace.ca'>directors@protospace.ca</a>.</p>
<Header size='large'>Training</Header> <Header size='large'>Your Training</Header>
{user.training.length ? {user.training.length ?
<TrainingList training={user.training} /> <TrainingList training={user.training} />

View File

@ -310,7 +310,7 @@ export function Transactions(props) {
return ( return (
<Container> <Container>
<Header size='large'>Transactions</Header> <Header size='large'>Your Transactions</Header>
<TransactionList noMember noCategory transactions={user.transactions} /> <TransactionList noMember noCategory transactions={user.transactions} />