Revision 44893
Added by Konstantina Galouni over 7 years ago
relatedDatasourcesTab.component.ts | ||
---|---|---|
22 | 22 |
<table class="table table-striped"> |
23 | 23 |
<thead> |
24 | 24 |
<tr> |
25 |
<th class="text-center">Name</th> |
|
26 |
<th class="text-center">Aggregation Number</th>
|
|
25 |
<th class="text-center">Data Provider Name</th>
|
|
26 |
<th class="text-center">Number of publications/ datasets</th>
|
|
27 | 27 |
</tr> |
28 | 28 |
</thead> |
29 | 29 |
<tbody> |
... | ... | |
34 | 34 |
</a> |
35 | 35 |
</td> |
36 | 36 |
<td class="text-center"> |
37 |
{{item.count}} |
|
37 |
<a href="{{linkToSearchPublications}}{{item.id}}&ho=and&collectedFrom={{dataproviderId}}&co=and" target="_blank"> |
|
38 |
{{item.count}} |
|
39 |
</a> |
|
38 | 40 |
</td> |
39 | 41 |
</tr> |
40 | 42 |
</tbody> |
... | ... | |
44 | 46 |
}) |
45 | 47 |
|
46 | 48 |
export class RelatedDatasourcesTabComponent { |
47 |
@Input() paramsForSearchLink: string = "";
|
|
49 |
@Input() dataproviderId: string;
|
|
48 | 50 |
@Input() searchPublicationsComponent : SearchPublicationsComponent; |
49 | 51 |
private linkToSearchPublications = ""; |
50 | 52 |
|
51 | 53 |
constructor () {} |
52 | 54 |
|
53 | 55 |
ngOnInit() { |
54 |
//this.linkToSearchPublications = OpenaireProperties.getLinkToSearchPublications()+this.paramsForSearchLink;
|
|
56 |
this.linkToSearchPublications = OpenaireProperties.getLinkToAdvancedSearchPublications()+"?&hostedBy=";//+ +"&ho=and&collectedFrom="+ +"&co=and";
|
|
55 | 57 |
} |
56 | 58 |
|
57 | 59 |
ngOnDestroy() {} |
Also available in: Unified diff
Deposit Pages: Show proper messages (Publications or Research Data) | Landing pages' tabs: redirect results to search pages