)
}
diff --git a/SharePointFramework/ProjectWebParts/src/components/ProjectPhases/ChangePhaseDialog/index.tsx b/SharePointFramework/ProjectWebParts/src/components/ProjectPhases/ChangePhaseDialog/index.tsx
index 4137878a8..bede09d0f 100644
--- a/SharePointFramework/ProjectWebParts/src/components/ProjectPhases/ChangePhaseDialog/index.tsx
+++ b/SharePointFramework/ProjectWebParts/src/components/ProjectPhases/ChangePhaseDialog/index.tsx
@@ -1,16 +1,23 @@
-import { Dialog, DialogType, format } from '@fluentui/react'
import SPDataAdapter from '../../../data'
import * as strings from 'ProjectWebPartsStrings'
import React, { FC, useContext, useEffect, useReducer } from 'react'
import { ProjectPhasesContext } from '../context'
-import { DISMISS_CHANGE_PHASE_DIALOG } from '../reducer'
-import { Body } from './Body'
-import styles from './ChangePhaseDialog.module.scss'
+import { Content } from './Content'
import { ChangePhaseDialogContext } from './context'
import { DynamicHomepageContent } from './DynamicHomepageContent'
-import { Footer } from './Footer'
+import { Actions } from './Actions'
import reducer, { CHECKLIST_ITEM_UPDATED, INIT } from './reducer'
import { View } from './Views'
+import {
+ Dialog,
+ DialogBody,
+ DialogContent,
+ DialogSurface,
+ DialogTitle,
+ Label
+} from '@fluentui/react-components'
+import { format } from '@fluentui/react'
+import styles from './ChangePhaseDialog.module.scss'
export const ChangePhaseDialog: FC = () => {
const context = useContext(ProjectPhasesContext)
@@ -39,23 +46,30 @@ export const ChangePhaseDialog: FC = () => {
return (
-
-
+
)
diff --git a/SharePointFramework/ProjectWebParts/src/loc/mystrings.d.ts b/SharePointFramework/ProjectWebParts/src/loc/mystrings.d.ts
index 6c89181e9..f5ada0aad 100644
--- a/SharePointFramework/ProjectWebParts/src/loc/mystrings.d.ts
+++ b/SharePointFramework/ProjectWebParts/src/loc/mystrings.d.ts
@@ -29,6 +29,8 @@ declare interface IProjectWebPartsStrings {
CalloutTemplateFieldLabel: string
CancelText: string
CategoryFieldLabel: string
+ ChangePhaseDialogTitle: string
+ ChangePhaseDialogSubtitle: string
ChangePhaseText: string
ChangingPhaseDescription: string
ChecklistCommentDescription: string
@@ -137,6 +139,7 @@ declare interface IProjectWebPartsStrings {
PhaseChecklistViewUrl: string
PhaseFieldFieldLabel: string
PhaseLabel: string
+ PhaseSitePageTitle: string
PhaseSitePageFoundDescription: string
PhaseSitePageNotFoundDescription: string
PhaseUseStartArrowLabel: string
@@ -225,6 +228,7 @@ declare interface IProjectWebPartsStrings {
WebPartNoAccessMessage: string
WidthFieldLabel: string
Yes: string
+ PhaseCheckListItem: string
}
declare module 'ProjectWebPartsStrings' {
diff --git a/SharePointFramework/ProjectWebParts/src/loc/nb-no.js b/SharePointFramework/ProjectWebParts/src/loc/nb-no.js
index b01641abd..7caf91dc8 100644
--- a/SharePointFramework/ProjectWebParts/src/loc/nb-no.js
+++ b/SharePointFramework/ProjectWebParts/src/loc/nb-no.js
@@ -39,6 +39,8 @@ define([], function () {
CalloutTemplateFieldLabel: 'Mal for callout',
CancelText: 'Avbryt',
CategoryFieldLabel: 'Kategori',
+ ChangePhaseDialogTitle: 'Endre til {0} fasen',
+ ChangePhaseDialogSubtitle: 'Dette vil medføre endring fra {0} til {1} fasen',
ChangePhaseText: 'Endre til denne fasen',
ChangingPhaseDescription: 'Endrer fase til {0}',
ChecklistCommentDescription: 'Kommentar er obligatorisk om sjekkpunktet skal markeres som "Ikke relevant" eller "Fortsatt åpen".',
@@ -154,8 +156,9 @@ define([], function () {
PhaseLabel: 'Fase',
PhaseUseStartArrowLabel: 'Bruk startpil',
PhaseUseEndArrowLabel: 'Bruk avsluttende pil',
+ PhaseSitePageTitle: 'Dynamisk forside er aktivert',
PhaseSitePageFoundDescription: 'Å endre til denne fasen vil også endre forsiden til prosjektet.
Side _{0}_ for fase funnet. Denne siden vil bli brukt som forside for prosjektet. Trykk **Ja** for å fortsette.',
- PhaseSitePageNotFoundDescription: 'Dynamisk forside er aktivert.
Side _{0}_ for fase ble ikke funnet, vennligst opprett. Ved trykk på **Ja** vil ikke forside endres.',
+ PhaseSitePageNotFoundDescription: 'Side _{0}_ for fase ble ikke funnet, vennligst opprett. Ved trykk på **Ja** vil ikke forside endres, men fasen vil bli endret.',
PleaseWaitText: 'Vennligst vent',
ProbabilityFieldNameFieldLabel: 'Feltnavn - Sannsynlighet',
ProbabilityHeaderFieldLabel: 'Sannsynlighet {0}',
@@ -239,6 +242,7 @@ define([], function () {
ViewXmlFieldLabel: 'Vis XML spørring',
WebPartNoAccessMessage: 'Du har ikke tilgang til å se denne webdelen.
Du må enten ha tilgang til porteføljeområdet, eller så må prosjektet være fristilt fra porteføljeområdet.',
WidthFieldLabel: 'Bredde (piksler)',
- Yes: 'Ja'
+ Yes: 'Ja',
+ PhaseCheckListItem: 'Sjekkpunkt {0}',
}
})
diff --git a/SharePointFramework/shared-library/src/icons/iconCatalog.ts b/SharePointFramework/shared-library/src/icons/iconCatalog.ts
index 31fc9ab2d..98c7629ca 100644
--- a/SharePointFramework/shared-library/src/icons/iconCatalog.ts
+++ b/SharePointFramework/shared-library/src/icons/iconCatalog.ts
@@ -84,7 +84,11 @@ import {
HistoryFilled,
HistoryRegular,
ImageFilled,
- ImageRegular
+ ImageRegular,
+ CircleFilled,
+ CircleRegular,
+ DismissCircleRegular,
+ DismissCircleFilled,
} from '@fluentui/react-icons'
/**
@@ -262,5 +266,13 @@ export const iconCatalog = {
PeopleCommunity: {
regular: PeopleCommunityRegular,
filled: PeopleCommunityFilled
+ },
+ Circle: {
+ regular: CircleRegular,
+ filled: CircleFilled
+ },
+ DismissCircle: {
+ regular: DismissCircleRegular,
+ filled: DismissCircleFilled
}
}