From 2dd570aa72a61d276ed39d625a875313f917f31c Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 20 Jul 2023 17:04:34 +0300 Subject: [PATCH] Change texts for project update. --- src/app/app.component.html | 8 ++++---- src/app/app.component.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index d25e91e..3d850d9 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -29,16 +29,16 @@
Projects Status: Urgent Update Needed
- The latest-starting project in your portfolio in the OpenAIRE Graph began more than a year ago. Please urgently follow these instructions - here to update your project list. + Your project list was last updated more than a year ago. Please send an updated project list to + mining@openaire.eu or contact support.
Projects Status: Update Needed
- The latest-starting project in your portfolio in the OpenAIRE Graph began 6 to 12 months ago. To maintain current project data, please follow the instructions - here. + Your project list was last updated between 6 to 12 months ago. Please send an updated project list to + mining@openaire.eu or contact support.
diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 2f0cbaa..9a56bbf 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -247,7 +247,7 @@ export class AppComponent implements OnInit, OnDestroy { let months = (today.getFullYear() - date.getFullYear())*12 + (today.getMonth() - date.getMonth()); if(months >= 12) { this.projectUpdate = 'danger'; - } else if (months > 6 && months < 12) { + } else if (months >= 6 && months < 12) { this.projectUpdate = 'warning'; } else { this.projectUpdate = null;