Skip to content

Commit

Permalink
[Bachelor Honours] Use consistent spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rikurauhala committed Jul 9, 2024
1 parent 26755bb commit 1e63739
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const BachelorHonours = ({ absentYears, programmeCode, student }) => {
const basicAtLeastFour = basicModules.find(mod => Number(mod.grade) >= 4)
const intermediateAtLeastFour = intermediateModules.find(mod => Number(mod.grade) >= 4)

const honors = basicAtLeastFour && intermediateAtLeastFour && inTime
const honours = basicAtLeastFour && intermediateAtLeastFour && inTime

if (!inTime) {
reason = degreeModule ? 'Did not graduate in time' : 'Has not graduated'
Expand Down Expand Up @@ -117,11 +117,11 @@ export const BachelorHonours = ({ absentYears, programmeCode, student }) => {
</Divider>
<Header as="h5">Qualified</Header>
<Label
color={honors ? 'green' : 'red'}
content={honors ? 'Qualified for Honours' : 'Not qualified for Honours'}
color={honours ? 'green' : 'red'}
content={honours ? 'Qualified for Honours' : 'Not qualified for Honours'}
tag
/>
{!honors && reason && <Label color="red" content={reason} tag />}
{!honours && reason && <Label color="red" content={reason} tag />}
{inspection && <Label color="blue" content="Might need further inspection" tag />}
<div style={{ marginTop: '15px', marginBottom: '15px' }}>
Select curriculum version used for checking Bachelor Honours eligibility
Expand All @@ -132,7 +132,7 @@ export const BachelorHonours = ({ absentYears, programmeCode, student }) => {
year={new Date().getFullYear()}
/>
</div>
{honors ? (
{honours ? (
<Accordion>
<Accordion.Title
active={showHonoursModules}
Expand Down

0 comments on commit 1e63739

Please sign in to comment.