Add warning to members who haven't taken an NMO
This commit is contained in:
parent
945afebb99
commit
395dbe4418
|
@ -94,8 +94,6 @@ function MemberInfo(props) {
|
||||||
<QRCode value={siteUrl + 'subscribe?monthly_fees=' + user.member.monthly_fees + '&id=' + user.member.id} />
|
<QRCode value={siteUrl + 'subscribe?monthly_fees=' + user.member.monthly_fees + '&id=' + user.member.id} />
|
||||||
</React.Fragment>}
|
</React.Fragment>}
|
||||||
|
|
||||||
<Header size='medium'>Latest Training</Header>
|
|
||||||
|
|
||||||
{unpaidTraining.map(x =>
|
{unpaidTraining.map(x =>
|
||||||
<Message warning>
|
<Message warning>
|
||||||
<Message.Header>Please pay your course fee!</Message.Header>
|
<Message.Header>Please pay your course fee!</Message.Header>
|
||||||
|
@ -103,6 +101,12 @@ function MemberInfo(props) {
|
||||||
</Message>
|
</Message>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<Header size='medium'>Latest Training</Header>
|
||||||
|
|
||||||
|
{!member.orientation_date && <p>
|
||||||
|
⚠️ You need to attend a <Link to={'/courses/249/'}>New Member Orientation</Link> to use any tool larger than a screwdriver.
|
||||||
|
</p>}
|
||||||
|
|
||||||
<BasicTable>
|
<BasicTable>
|
||||||
<Table.Body>
|
<Table.Body>
|
||||||
{lastTrain.length ?
|
{lastTrain.length ?
|
||||||
|
@ -115,7 +119,7 @@ function MemberInfo(props) {
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
<Table.Row><Table.Cell>None, please sign up for an <Link to={'/courses/249/'}>Orientation</Link></Table.Cell></Table.Row>
|
<Table.Row><Table.Cell>None</Table.Cell></Table.Row>
|
||||||
}
|
}
|
||||||
{user.training.length > 3 &&
|
{user.training.length > 3 &&
|
||||||
<Table.Row><Table.Cell>
|
<Table.Row><Table.Cell>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user