If the user feature is enabled, teacher todos on the k5 and classic
dashboards open in a new tab (and otherwise they open in the same tab).
Note: this does not affect student todos
closes LS-2667
flag = open_todos_in_new_tab
Test plan:
- Enable the feature (its on by default)
- Visit the k5 dashboard and the classic dashboard as a teacher
- Click on a todo item (if none exist, have a student submit an
assignment that needs grading)
- Expect it to open in a new tab
- Disable the feature
- In both locations, expect clicking the todo to open in the same
tab
Change-Id: Ib49a0a6aff50c17a135a2859bf4e4fe802645d06
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279308
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>