Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Merge branch 'development' into backend/enhancement/seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
JibrilExe committed May 4, 2024
2 parents 519e333 + c0cd627 commit bd22093
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frontend/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@
"course": "Course",
"SUCCESS": "Success",
"FAIL": "Fail",
"RUNNING": "Is running",
"LATE": "Late",
"deadlinesOnDay": "Deadlines on: ",
"noDeadline": "No deadlines",
"no_submission_yet" : "No submission yet",
Expand Down
2 changes: 2 additions & 0 deletions frontend/public/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
"last_submission": "Laatste indiening",
"SUCCESS": "Geslaagd",
"FAIL": "Gefaald",
"RUNNING": "Aan het lopen",
"LATE": "Te laat",
"deadlinesOnDay": "Deadlines op: ",
"noDeadline": "Geen deadlines",
"no_submission_yet" : "Nog geen indiening",
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ export function Header({ me }: HeaderProps): JSX.Element {
>
<MenuIcon style={{ fontSize: "2rem" }} />
</IconButton>
<Link to={`/home`}
style={{ color: 'inherit', textDecoration: 'none' }}>
<Typography
variant="h6"
color="inherit"
sx={{ marginRight: '2rem' }}>
Peristerónas
</Typography>
</Link>
<TitlePortal />
{!me.loggedIn && (
<LoginButton/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export const ProjectDeadlineCard: React.FC<ProjectCardProps> = ({ deadlines, sh
<CardActionArea component={Link} to={`/${i18n.language}/projects/${project.project_id}`}>
<CardContent>
<Typography variant="h6" style={{color: project.short_submission ?
(project.short_submission.submission_status === 'SUCCESS' ? 'green' : 'red') : '#686868'}}>
(project.short_submission.submission_status === 'SUCCESS' ? 'green' :
(project.short_submission.submission_status === 'RUNNING' ? '#686868' : 'red')
) : '#686868'}}>
{project.title}
</Typography>
{showCourse && (
Expand Down

0 comments on commit bd22093

Please sign in to comment.