Skip to content

Commit

Permalink
Ass3 update on eckles
Browse files Browse the repository at this point in the history
  • Loading branch information
chamhayden committed Oct 8, 2023
1 parent 9fcd8b3 commit d23b945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/page/Assessments/AssessmentsAssignments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ const AssessmentsAssignments = ({ }) => {
return (
<SubNavWrapper baseUrl={'/assessments/assignments'} menu={menu}>
<>
<h2>{params.ass} has {['ass1', 'ass2'].includes(params.ass) ? '' : 'not '} been released!</h2>
{['ass1', 'ass2'].includes(params.ass) && (<Button variant="contained" size="large">
<h2>{params.ass} has {['ass1', 'ass2', 'ass3'].includes(params.ass) ? '' : 'not '} been released!</h2>
{['ass1', 'ass2', 'ass3'].includes(params.ass) && (<Button variant="contained" size="large">
<a style={{ color: '#fff' }} target="_blank" href={
params.ass === 'ass1' ? `/~cs6080/redirect/?path=COMP6080/${getters.term}/students/_/pictocode/` :
params.ass === 'ass2' ? `/~cs6080/redirect/?path=COMP6080/${getters.term}/students/_/funform/` :
params.ass === 'ass3' ? `https://docs.google.com/spreadsheets/d/1QZ1p5HSFyZmdfyvt7kyKpA_BfQdCDWs8T24o0S08nfQ/` :
params.ass === 'ass3' ? `/~cs6080/redirect/?path=COMP6080/${getters.term}/students/_/slackr/` :
params.ass === 'ass4' ? `https://docs.google.com/spreadsheets/d/1QRaHRbuvlbeptyfUDw91NZjSdQcu-SrMr5wOfgeuDfk/`
: `/~cs6080/redirect/?path=COMP6080/${getters.term}/students/_/${params.ass}/`}>
View on gitlab
Expand Down

0 comments on commit d23b945

Please sign in to comment.