Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
olemp committed Apr 4, 2022
2 parents cf78bac + 71121b1 commit 46c0740
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class ProjectInformation extends BaseWebPartComponent<
!this.props.isSiteAdmin
]
const transformToParentProject: ActionType = [
strings.CreateParentProjectLabelAction,
strings.CreateParentProjectLabel,
() => {
this.setState({ displayParentCreationModal: true })
},
Expand All @@ -165,17 +165,17 @@ export class ProjectInformation extends BaseWebPartComponent<
!this.props.isSiteAdmin
]
const viewAllPropertiesAction: ActionType = [
strings.ViewAllPropertiesText,
strings.ViewAllPropertiesLabel,
() => {
this.setState({ showProjectPropertiesPanel: true })
},
'EntryView',
false
]
if (this.state.isParentProject) {
return [transformToParentProject, viewAllPropertiesAction]
return [administerChildrenAction, viewAllPropertiesAction]
}
return [administerChildrenAction, viewAllPropertiesAction]
return [transformToParentProject, viewAllPropertiesAction]
}

private onDismissParentModal() {
Expand Down Expand Up @@ -260,7 +260,7 @@ export class ProjectInformation extends BaseWebPartComponent<
this.props.webUrl,
strings.ProjectPropertiesListName,
this.state.data.templateParameters.ProjectContentTypeId ||
'0x0100805E9E4FEAAB4F0EABAB2600D30DB70C',
'0x0100805E9E4FEAAB4F0EABAB2600D30DB70C',
{ Title: this.props.webTitle }
)
if (!created) {
Expand Down
2 changes: 1 addition & 1 deletion SharePointFramework/ProjectWebParts/src/loc/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ define([], function () {
CurrentPhaseViewNameFieldLabel: 'Current phase display name',
DocumentsListName: 'Documents',
EditPropertiesText: 'Edit properties',
ViewAllPropertiesText: 'View all properties',
ViewAllPropertiesLabel: 'View all properties',
EditReportButtonText: 'Edit status',
PublishReportButtonText: 'Publish',
GetSnapshotButtonText: 'Open as snapshot',
Expand Down
4 changes: 2 additions & 2 deletions SharePointFramework/ProjectWebParts/src/loc/mystrings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ declare interface IProjectWebPartsStrings {
CurrentPhaseViewNameFieldLabel: string;
DocumentsListName: string;
EditPropertiesText: string;
ViewAllPropertiesText: string;
ViewAllPropertiesLabel: string;
EditReportButtonText: string;
PublishReportButtonText: string;
PublishedStatusReport: string;
Expand Down Expand Up @@ -145,7 +145,7 @@ declare interface IProjectWebPartsStrings {
PhaseSitePageFoundDescription: string;
PhaseSitePageNotFoundDescription: string;
UseDynamicHomepageChangePhaseDescription: string;
CreateParentProjectLabelAction: string;
CreateParentProjectLabel: string;
ChildProjectAdminLabel: string;
AdminPageLinkLabel: string;
}
Expand Down
2 changes: 1 addition & 1 deletion SharePointFramework/ProjectWebParts/src/loc/nb-no.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ define([], function() {
CurrentPhaseViewNameFieldLabel: 'Visningsnavn for gjeldende fase',
DocumentsListName: 'Dokumenter',
EditPropertiesText: 'Rediger egenskaper',
ViewAllPropertiesText: 'Vis alle egenskaper',
ViewAllPropertiesLabel: 'Vis alle egenskaper',
EditReportButtonText: 'Rediger status',
PublishReportButtonText: 'Publiser',
GetSnapshotButtonText: 'Åpne som øyeblikksbilde',
Expand Down

0 comments on commit 46c0740

Please sign in to comment.