Skip to content

Commit

Permalink
Merge branch 'main' into derek/injectedAddButton3
Browse files Browse the repository at this point in the history
  • Loading branch information
doprz authored Jan 20, 2025
2 parents 7ae2771 + 52347fd commit db0e562
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ export default function GradeDistribution({ course }: GradeDistributionProps): J
</Link>
</div>
{distributions[semester] && !distributions[semester]!.instructorIncluded && (
<div className='mt-3 flex flex-wrap content-center items-center self-stretch justify-center gap-3'>
<Text variant='mini' className='text-theme-red italic!'>
Instructor-specific data is not available for this course
{semester !== 'Aggregate' && ` for ${semester}`}, showing course-wide data instead
<div className='mt-3 flex flex-wrap content-center items-center self-stretch justify-center gap-3 text-center'>
<Text variant='small' className='text-theme-red'>
We couldn&apos;t find {semester !== 'Aggregate' && ` ${semester}`} grades for this
instructor, so here are the grades for all {course.department} {course.number} sections.
</Text>
</div>
)}
Expand Down

0 comments on commit db0e562

Please sign in to comment.