Skip to content

Commit

Permalink
Added breadcrumbs to edit title and edit steps
Browse files Browse the repository at this point in the history
  • Loading branch information
MaPoKen committed Jan 10, 2025
1 parent 0832bf2 commit 4eb5343
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const EditLearningpathStepsPage = () => {
<MyNdlaPageWrapper>
<HelmetWithTracker title={t("htmlTitles.learningpathEditStepsPage", { name: data?.myNdlaLearningpath?.title })} />
<MyNdlaBreadcrumb
breadcrumbs={[{ id: "0", name: `${t("myNdla.learningpath.newLearningpath")}` }]}
breadcrumbs={[{ id: "0", name: `${t("myNdla.learningpath.editLearningpath")}` }]}
page="learningpath"
/>
<Heading id={SKIP_TO_CONTENT_ID} textStyle="heading.medium">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const EditLearningpathTitlePage = () => {
<MyNdlaPageWrapper>
<HelmetWithTracker title={t("htmlTitles.learningpathEditTitlePage", { name: data?.myNdlaLearningpath?.title })} />
<MyNdlaBreadcrumb
breadcrumbs={[{ id: "0", name: `${t("myNdla.learningpath.newLearningpath")}` }]}
breadcrumbs={[{ id: "0", name: `${t("myNdla.learningpath.editLearningpathTitle")}` }]}
page="learningpath"
/>
<Heading id={SKIP_TO_CONTENT_ID} textStyle="heading.medium">
Expand Down
2 changes: 2 additions & 0 deletions src/messages/messagesEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ const messages = {
goToMyNdla: "Go to My NDLA",
learningpath: {
newLearningpath: "New learningpath",
editLearningpath: "Edit learningpath",
editLearningpathTitle: "Edit learningpath title",
form: {
delete: "Delete",
next: "Next",
Expand Down
2 changes: 2 additions & 0 deletions src/messages/messagesNB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ const messages = {
goToMyNdla: "Gå til Min NDLA",
learningpath: {
newLearningpath: "Ny læringssti",
editLearningpath: "Rediger læringssti",
editLearningpathTitle: "Rediger læringssti tittel",
form: {
delete: "Slett",
next: "Neste",
Expand Down
2 changes: 2 additions & 0 deletions src/messages/messagesNN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ const messages = {
goToMyNdla: "Gå til Min NDLA",
learningpath: {
newLearningpath: "Ny læringssti",
editLearningpath: "Rediger læringssti",
editLearningpathTitle: "Rediger læringssti tittel",
form: {
delete: "Slett",
next: "Neste",
Expand Down
2 changes: 2 additions & 0 deletions src/messages/messagesSE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ const messages = {
goToMyNdla: "Gå til Min NDLA",
learningpath: {
newLearningpath: "Ny læringssti",
editLearningpath: "Rediger læringssti",
editLearningpathTitle: "Rediger læringssti tittel",
form: {
delete: "Slett",
next: "Neste",
Expand Down

0 comments on commit 4eb5343

Please sign in to comment.