Skip to content

Assignment Updates: show assigned for students on course overview#31436

Merged
Erin007 merged 1 commit into
stagingfrom
assigned-to-student
Oct 23, 2019
Merged

Assignment Updates: show assigned for students on course overview#31436
Erin007 merged 1 commit into
stagingfrom
assigned-to-student

Conversation

@Erin007
Copy link
Copy Markdown
Contributor

@Erin007 Erin007 commented Oct 23, 2019

Follow up to #31293 where if the user is a teacher and a script is assigned to the selected section we show a green checkmark and "assigned" on the unit box for that script on the course overview page. This PR extends the logic slightly so that students will also see the checkmark and assigned label if any of their sections have been assigned that particular script. Since students do not select a section, here I just use the presence of assignedSectionId rather than checking its value as I did with teachers.

Screen Shot 2019-10-23 at 2 06 19 PM

Copy link
Copy Markdown
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense!

@Erin007 Erin007 merged commit 472abec into staging Oct 23, 2019
@Erin007 Erin007 deleted the assigned-to-student branch October 23, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants