canvas-lms/spec/coffeescripts
Nate Armstrong 90c782599e Fix course title not showing on home front page
fixes LS-2605
flag=none

We recently switched to checking VIEW_ALL_PAGES for
VIEW_TOOLBAR as part of
[this change](https://gerrit.instructure.com/c/canvas-lms/+/270314)
which breaks for home pages because, unlike regular wiki show
pages, display_show_all_pages is false (we don't want to show
the All Pages button on the home page).

VIEW_TOOLBAR hides or shows the course title on the home page
so it needs to be true when course_home is true. There are
additional permission checks within VIEW_TOOLBAR so this does
not expose any other undesirable controls.

Test plan:
- Set a page as a front page
- Set a course home page to that front page
- View the course home as a student
- The course title should be displayed

Change-Id: I87b35a1c6bae16c7d092891015965b1817303d99
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/273182
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Nate Armstrong <narmstrong@instructure.com>
2021-09-09 14:12:35 +00:00
..
api rename some things 2021-04-06 01:12:49 +00:00
arr rename some things 2021-04-06 01:12:49 +00:00
backbone-ext rename some things 2021-04-06 01:12:49 +00:00
behaviors rename some things 2021-04-06 01:12:49 +00:00
calendar extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
class rename some things 2021-04-06 01:12:49 +00:00
collections rename some things 2021-04-06 01:12:49 +00:00
editor rename some things 2021-04-06 01:12:49 +00:00
external_tools rename some things 2021-04-06 01:12:49 +00:00
force_failure Allow forcing a failure in each JS stage 2020-01-20 21:18:25 +00:00
gradebook rename some things 2021-04-06 01:12:49 +00:00
helpers extract date-time-moment-parser 2021-08-05 21:53:25 +00:00
jquery rename some things 2021-04-06 01:12:49 +00:00
jsx extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
legacy rename some things 2021-04-06 01:12:49 +00:00
models Fix Custom Params Edit and Publish Bug 2021-09-02 22:42:21 +00:00
object rename some things 2021-04-06 01:12:49 +00:00
quizzes avoid tracking useless event when focusing/blurring the RCE 2021-04-14 19:53:01 +00:00
react_files rename some things 2021-04-06 01:12:49 +00:00
speed_grader rename some things 2021-04-06 01:12:49 +00:00
str rename some things 2021-04-06 01:12:49 +00:00
tinymce_plugins rename some things 2021-04-06 01:12:49 +00:00
util rework handlebars dependency on brandable_css 2021-07-14 22:19:20 +00:00
views Fix course title not showing on home front page 2021-09-09 14:12:35 +00:00
widgets extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
AssignmentMuterSpec.js rename some things 2021-04-06 01:12:49 +00:00
CollaborationsSpec.js rename some things 2021-04-06 01:12:49 +00:00
QuizFormulaSolutionSpec.js rename some things 2021-04-06 01:12:49 +00:00
QuizRubricSpec.js rename some things 2021-04-06 01:12:49 +00:00
SelectContentDialogSpec.js add title to content item external tool iframe 2021-08-05 17:18:13 +00:00
TinymceConfigSpec.js rename some things 2021-04-06 01:12:49 +00:00
TurnitinSpec.js rename some things 2021-04-06 01:12:49 +00:00
courseSettingsHelperSpec.js rename some things 2021-04-06 01:12:49 +00:00
dateSpec.js rename some things 2021-04-06 01:12:49 +00:00
formToJSONSpec.js rename some things 2021-04-06 01:12:49 +00:00
globalAnnouncementsSpec.js rename some things 2021-04-06 01:12:49 +00:00
handlebars_helpersSpec.js extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
helpDialogSpec.js rename some things 2021-04-06 01:12:49 +00:00
i18nSpec.js extract date-time-moment-parser 2021-08-05 21:53:25 +00:00
instructureDateAndTimeSpec.js extract @canvas/timezone into a package 2021-08-24 17:43:05 +00:00
jQuery.instructureMiscPluginsSpec.js rename some things 2021-04-06 01:12:49 +00:00
paginatedListSpec.js rename some things 2021-04-06 01:12:49 +00:00
submitAssignmentHelperSpec.js Stop using "more" tab for LTI submission 2021-06-01 20:55:08 +00:00
userNamePartsSpec.js rename some things 2021-04-06 01:12:49 +00:00
userSettingsSpec.js rename some things 2021-04-06 01:12:49 +00:00