diff --git a/CHANGELOG.md b/CHANGELOG.md index 338f5ed49..39cd14c30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ Every change is marked with Pull Request ID. - Added list 'Tidslinjeinnhold' to portfolio level #437 - Added 'Description' to document templates #379 - Supporting pre-defined template setting #461 +- Added "Last Report Date" to Portfolio status overview #393 +- Added report created date next to Project Status title ## Fixed diff --git a/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/index.tsx b/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/index.tsx index f828092ac..e4133de38 100644 --- a/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/index.tsx +++ b/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/index.tsx @@ -120,7 +120,7 @@ export class ProjectStatus extends React.Component )}
-
{this.props.title}
+
{this.props.title} - {moment(this.state.selectedReport.created).format('DD.MM.yyyy')}
{this._renderSections()} @@ -418,7 +418,7 @@ export class ProjectStatus extends React.Component + diff --git a/Templates/Portfolio/Objects/Lists/Portefoljevisninger.xml b/Templates/Portfolio/Objects/Lists/Portefoljevisninger.xml index 85568b349..bc6636282 100644 --- a/Templates/Portfolio/Objects/Lists/Portefoljevisninger.xml +++ b/Templates/Portfolio/Objects/Lists/Portefoljevisninger.xml @@ -50,7 +50,7 @@ DepartmentId:{{sitecollectionid}} NOT GtProjectLifecycleStatusOWSCHCS="Avsluttet" ContentTypeId:0x0100805E9E4FEAAB4F0EABAB2600D30DB70C* False BarChart4 - 1,7,8,9,21,25,23,19,27 + 1,7,8,9,21,25,23,19,27,30 5,6,7,8,9 diff --git a/Templates/Portfolio/Objects/Lists/Prosjektkolonner.xml b/Templates/Portfolio/Objects/Lists/Prosjektkolonner.xml index 92b675e89..22069556e 100644 --- a/Templates/Portfolio/Objects/Lists/Prosjektkolonner.xml +++ b/Templates/Portfolio/Objects/Lists/Prosjektkolonner.xml @@ -405,6 +405,19 @@ False False + + 300 + {resource:SiteFields_GtLastReportDate_DisplayName} + GtLastReportDate + GtLastReportDateOWSDATE + Date + 150 + False + False + False + False + False + diff --git a/Templates/Portfolio/Objects/SiteFields/@.xml b/Templates/Portfolio/Objects/SiteFields/@.xml index 911ff588f..14ccadc4f 100644 --- a/Templates/Portfolio/Objects/SiteFields/@.xml +++ b/Templates/Portfolio/Objects/SiteFields/@.xml @@ -41,6 +41,7 @@ + diff --git a/Templates/Portfolio/Objects/SiteFields/GtLastReportDate.xml b/Templates/Portfolio/Objects/SiteFields/GtLastReportDate.xml new file mode 100644 index 000000000..d8be35110 --- /dev/null +++ b/Templates/Portfolio/Objects/SiteFields/GtLastReportDate.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Templates/Portfolio/Resources.en-US.resx b/Templates/Portfolio/Resources.en-US.resx index 7e7178619..b5b6aac7d 100644 --- a/Templates/Portfolio/Resources.en-US.resx +++ b/Templates/Portfolio/Resources.en-US.resx @@ -1479,6 +1479,12 @@ Define the SharePoint permission level for the project site. + + + Last date for published report. + + + Last report date Gå til <a href="{0" target="_blank">fasesjekklisten</a> (åpnes i ny fane) diff --git a/Templates/Portfolio/Resources.no-NB.resx b/Templates/Portfolio/Resources.no-NB.resx index c104f244c..b89bcd30d 100644 --- a/Templates/Portfolio/Resources.no-NB.resx +++ b/Templates/Portfolio/Resources.no-NB.resx @@ -1528,6 +1528,12 @@ Definerer rettighetsnivå på SharePoint-området til prosjektet. + + Siste dato for publisert rapport. + + + Siste rapporteringsdato + Gå til <a href="{0" target="_blank">fasesjekklisten</a> (åpnes i ny fane)