Adds the Sections sub-menu to the course paces picker
(behind the section paces flag).
closes LS-3180
flag=course_paces
test plan:
- in a course with pacing on
- add a couple sections
- in the course's course_pacing page
> expect a Sections menu item in the Coure Pacing select
with the default section (named after the course name)
and your new sections
> expect the "this is new and unpublished" banner on the page
- change a duration or 2 and publish
- change back to the course pace and then the section pace again
> expect the updated durations to be reflected in the
the section's pace
- refresh the page
> switch to the section pace
> expect the updated durations
- turn off the "Per Section Course Paces" flag
- revisit the course pacing page
> expect no Sections in the select
> expect it not to blow up
- don't forget to turn the flag back on
Change-Id: I95b4b4de8e2d6f917ff79c0655815592bf0badee
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292438
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jonathan Guardado <jonathan.guardado@instructure.com>
QA-Review: Jonathan Guardado <jonathan.guardado@instructure.com>
Product-Review: Allison Howell <allison.howell@instructure.com>