Skip to content

Commit

Permalink
refactor: update course outline url and some default messages
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Dec 5, 2023
1 parent 5ddb9bf commit 2875840
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CourseAuthoringRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const CourseAuthoringRoutes = () => {
<CourseAuthoringPage courseId={courseId}>
<Routes>
<Route
path="outline"
path="/"
element={<PageWrap><CourseOutline courseId={courseId} /></PageWrap>}
/>
<Route
Expand Down
2 changes: 1 addition & 1 deletion src/course-outline/enable-highlights-modal/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const messages = defineMessages({
},
cancelButton: {
id: 'course-authoring.course-outline.status-bar.modal.cancelButton',
defaultMessage: 'Not yet',
defaultMessage: 'Cancel',
},
submitButton: {
id: 'course-authoring.course-outline.status-bar.modal.submitButton',
Expand Down
2 changes: 1 addition & 1 deletion src/course-outline/status-bar/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const messages = defineMessages({
},
pacingTypeSelfPaced: {
id: 'course-authoring.course-outline.status-bar.pacing-type.self-paced',
defaultMessage: 'Self paced',
defaultMessage: 'Self-Paced',
},
pacingTypeInstructorPaced: {
id: 'course-authoring.course-outline.status-bar.pacing-type.instructor-Paced',
Expand Down
2 changes: 1 addition & 1 deletion src/header/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import messages from './messages';
export const getContentMenuItems = ({ studioBaseUrl, courseId, intl }) => {
const items = [
{
href: getPagePath(courseId, 'false', 'course'),
href: `${studioBaseUrl}/course/${courseId}`,
title: intl.formatMessage(messages['header.links.outline']),
},
{
Expand Down

0 comments on commit 2875840

Please sign in to comment.