From 7decc58f61b7b2e789943fa8899a0c20920900a4 Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 17 May 2024 10:04:33 +0300 Subject: [PATCH] [pluginsFunctionality | DONE | CHANGED] Deposit: add Suggested repos link --- deposit/depositFirstPage.component.ts | 18 +++++++++++++++++- .../searchDataprovidersToDeposit.component.ts | 5 +++++ deposit/utils/zenodoInformation.class.ts | 2 ++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/deposit/depositFirstPage.component.ts b/deposit/depositFirstPage.component.ts index 03704688..57009d7a 100644 --- a/deposit/depositFirstPage.component.ts +++ b/deposit/depositFirstPage.component.ts @@ -104,7 +104,7 @@ import {FullScreenModalComponent} from '../utils/modal/full-screen-modal/full-sc

Find the appropriate repository.

-
+
@@ -141,6 +141,22 @@ import {FullScreenModalComponent} from '../utils/modal/full-screen-modal/full-sc
+
+
+
+ Suggested Repositories +
+ Select a repository suggested by the community curators. +
+
+ + +
+
diff --git a/deposit/searchDataprovidersToDeposit.component.ts b/deposit/searchDataprovidersToDeposit.component.ts index 79322525..0e66351d 100644 --- a/deposit/searchDataprovidersToDeposit.component.ts +++ b/deposit/searchDataprovidersToDeposit.component.ts @@ -32,6 +32,11 @@ import {SearchForm} from "../searchPages/searchUtils/newSearchPage.component";
+ + + Suggested repositories + + Zenodo Repository diff --git a/deposit/utils/zenodoInformation.class.ts b/deposit/utils/zenodoInformation.class.ts index 87a88914..3c4554ad 100644 --- a/deposit/utils/zenodoInformation.class.ts +++ b/deposit/utils/zenodoInformation.class.ts @@ -2,4 +2,6 @@ export class ZenodoInformationClass{ name: string = ""; url: string = ""; shareInZenodoUrl: string = ""; + hasSuggestedRepositories:boolean = false; + uggestedRepositoriesUrl:string = "" }