test plan:
* set homepage to something other than the course stream
* navigate to course homepage as student (with draft state disabled)
- 'See Course Stream' link should be visible and function
- 'See Course Stream' should not be shown when on the course stream
* navigate to course homepage as student (with draft state enabled)
- 'View Course Stream' link should be visible and function
- 'View Course Stream' should not be shown when on the course stream
fixes CNVS-10136
Change-Id: Ic72f27b3c5003cf99dc35afea6d1c577dbc12e1d
Reviewed-on: https://gerrit.instructure.com/27981
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Mark Severson <markse@instructure.com>
Product-Review: Mark Severson <markse@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Removes links from the main content and moves them to the right
sidebar. Also, when clicking to change the homepages default look, it
opens a modal instead of showing/hiding a form in the main content
area.
Test Plan
1. Go to a courses homepage
2. Noticed there are no links to view the course stream or edit the
homepage in the main content area.
3. There should be two links in the right sidebar. One that says "View
Course Stream" and another that says "Edit Homepage"
4. Clicking the Edit Homepage link opens a modal with a dropdown that
lets you select what you want to appear as the homepage.
5. Clicking on the Course Stream button should show the course stream.
fixes CNVS-8640
Change-Id: I1aca7267d481eb2a54297cd8691c0cfb07c1f113
Reviewed-on: https://gerrit.instructure.com/25096
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Hannah Bottalla <hannah@instructure.com>
Reviewed-by: James Williams <jamesw@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>