Project
diff --git a/portal-2/src/app/claims/directLinking/directLinking.component.html b/portal-2/src/app/claims/directLinking/directLinking.component.html
new file mode 100644
index 00000000..ddef7ea6
--- /dev/null
+++ b/portal-2/src/app/claims/directLinking/directLinking.component.html
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+ Link
+
+
+
+
+
+
+
+
No valid arguments provided in order to start linking openAIRE entities.
+
+
+
+
+ Link {{(type=="project")?'Project':' Research result'}}:
+
+
+
+
+
+
+
+
+
0 " class="uk-article-meta">Authors: {{author.name}}{{(i < (displayedResult.result.authors.slice(0,10).length-1))?"; ":""}}{{(i == displayedResult.result.authors.slice(0,10).length-1 && displayedResult.result.authors.length > 10)?"...":""}}
+
+
+
+
+
+
0 " class="uk-padding uk-panel uk-background-muted">
+ {{projects[0].funderName}} | {{projects[0].projectName}} {{(projects[0].projectAcronym)?'('+projects[0].projectAcronym+')':''}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/portal-2/src/app/claims/directLinking/directLinking.component.ts b/portal-2/src/app/claims/directLinking/directLinking.component.ts
index b7f0de7f..567909a3 100644
--- a/portal-2/src/app/claims/directLinking/directLinking.component.ts
+++ b/portal-2/src/app/claims/directLinking/directLinking.component.ts
@@ -9,110 +9,7 @@ import { Meta} from '../../../angular2-meta';
@Component({
selector: 'directLinking',
- template: `
-
-
-
-
-
-
- Link
-
-
-
-
-
-
-
-
No valid arguments provided in order to start linking openAIRE entities.
-
-
-
-
-
-
-
-
- Linking Functionality:
-
Through linking functioanilty you are able to create links from {{type}} to {{(linkTo =='context')?"communities/ concepts":((linkTo =='project')?"projects":"research results")}}. You have to select at least one {{(linkTo =='context')?"community/ concept":((linkTo =='project')?"project":"research result")}} in order to be able to proceed.
-
-
Projects: Search & add projects using keyword search. Limit the search space by specifying project Funder.
-
Communities: Search & add communities/ concepts by selecting community, category and using keyword search for . Or browse through the categories and add communities.
-
Research Results: You can search for reasearch results (publication and/ or research data) to link, in openaire, crossref, Orcid, and/ or Datacite. Use search mode, to search and add results through keyword search. Use upload mode, to upload a list of DOIs of results.
-
Review Metadata of research results: The selected research results that came from 3rd party repositories (Datacite, Crossreff, Orcid), need review and change of metadata (such as access mode, and type) before they are included in openaire information space.
- Please have in mind that ignoring this step, the research results will get the default values, that may be wrong.
-
-
-
-
-
-
- Link {{(type=="project")?'Project':' Research result'}}:
-
-
-
-
-
-
-
-
-
0 " class="uk-article-meta">Authors: {{author.name}}{{(i < (displayedResult.result.authors.slice(0,10).length-1))?"; ":""}}{{(i == displayedResult.result.authors.slice(0,10).length-1 && displayedResult.result.authors.length > 10)?"...":""}}
-
-
-
-
-
-
0 " class="uk-padding uk-panel uk-background-muted">
- {{projects[0].funderName}} | {{projects[0].projectName}} {{(projects[0].projectAcronym)?'('+projects[0].projectAcronym+')':''}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`
-
+ templateUrl: 'directLinking.component.html'
})
export class DirectLinkingComponent {
contexts=[];
@@ -284,13 +181,6 @@ export class DirectLinkingComponent {
- resultsChange($event) {
- this.results=$event.value;
- }
-
- projectsChange($event) {
- this.projects=$event.value;
- }
diff --git a/portal-2/src/app/claims/directLinking/directLinking.module.ts b/portal-2/src/app/claims/directLinking/directLinking.module.ts
index 25adc749..6163a75d 100644
--- a/portal-2/src/app/claims/directLinking/directLinking.module.ts
+++ b/portal-2/src/app/claims/directLinking/directLinking.module.ts
@@ -16,14 +16,17 @@ import {DatasetsServiceModule} from '../../services/datasetsService.module';
import {LoginGuard} from'../../login/loginGuard.guard';
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
import {HelperModule} from '../../utils/helper/helper.module';
-
+import {ClaimContextSearchFormModule} from '../claim-utils/claimContextSearchForm.module';
+import {ClaimProjectsSearchFormModule} from '../claim-utils/claimProjectSearchForm.module';
+import {ClaimResultSearchFormModule} from '../claim-utils/claimResultSearchForm.module';
@NgModule({
imports: [
SharedModule,
DirectLinkingRoutingModule,SelectedProjectsModule, SelectedContextsModule, SelectedPublicationsModule, InsertClaimsModule,
- EntitySearchServiceModule, PublicationsServiceModule, DatasetsServiceModule, StartOverModule, HelperModule
+ EntitySearchServiceModule, PublicationsServiceModule, DatasetsServiceModule, StartOverModule, HelperModule,
+ ClaimContextSearchFormModule, ClaimProjectsSearchFormModule, ClaimResultSearchFormModule
],
diff --git a/portal-2/src/app/claims/linking/linkingGeneric.component.html b/portal-2/src/app/claims/linking/linkingGeneric.component.html
new file mode 100644
index 00000000..218b2a68
--- /dev/null
+++ b/portal-2/src/app/claims/linking/linkingGeneric.component.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+ Link
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/portal-2/src/app/claims/linking/linkingGeneric.component.ts b/portal-2/src/app/claims/linking/linkingGeneric.component.ts
index 3ebbda69..379b8677 100644
--- a/portal-2/src/app/claims/linking/linkingGeneric.component.ts
+++ b/portal-2/src/app/claims/linking/linkingGeneric.component.ts
@@ -10,152 +10,7 @@ declare var UIkit:any;
@Component({
selector: 'linking-generic',
- template: `
-
-
-
-
-
-
- Link
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`
+ templateUrl: 'linkingGeneric.component.html'
})
export class LinkingGenericComponent {
diff --git a/portal-2/src/app/claims/linking/selected/selectedResults.component.ts b/portal-2/src/app/claims/linking/selected/selectedResults.component.ts
index b4d55ffa..4899f3d8 100644
--- a/portal-2/src/app/claims/linking/selected/selectedResults.component.ts
+++ b/portal-2/src/app/claims/linking/selected/selectedResults.component.ts
@@ -90,7 +90,7 @@ import {Dates} from '../../../utils/string-utils.class';
- Currently you cannot change metadata from openaire
+ Currently you cannot change metadata from OpenAIRE
diff --git a/portal-2/src/app/deposit/datasets/depositBySubjectResult.component.html b/portal-2/src/app/deposit/datasets/depositBySubjectResult.component.html
index e4ac6ef8..940b4b58 100644
--- a/portal-2/src/app/deposit/datasets/depositBySubjectResult.component.html
+++ b/portal-2/src/app/deposit/datasets/depositBySubjectResult.component.html
@@ -68,11 +68,11 @@