1
|
<ul class="uk-list uk-list-divider uk-margin">
|
2
|
<!--div *ngIf="status == errorCodes.NONE" class="uk-alert uk-alert-primary uk-animation-fade" role="alert">No Results found</div>
|
3
|
<div *ngIf="status == errorCodes.ERROR" class="uk-alert uk-alert-warning uk-animation-fade" role="alert">An Error Occured</div>
|
4
|
<div *ngIf="status == errorCodes.NOT_AVAILABLE" class="uk-alert uk-alert-danger uk-animation-fade" role="alert">Service not available</div>
|
5
|
<div *ngIf="status == errorCodes.LOADING && showLoading" class="uk-alert uk-alert-primary uk-animation-fade" role="alert">Loading...</div-->
|
6
|
|
7
|
<li *ngFor="let result of results" class="uk-animation-fade">
|
8
|
<div class = "uk-h4 {{result.title.accessMode}} {{result.title.sc39}}" [title] = result.title.accessMode >
|
9
|
<!--a href="{{result['title'].url}}"-->
|
10
|
<!--a [queryParams]="{articleId: 'od_______908::3a5b2885656a91307156325644e73b92'}" routerLinkActive="router-link-active" routerLink="search/publication"-->
|
11
|
|
12
|
<a [queryParams]="routerHelper.createQueryParam(urlParam,result.id)" routerLinkActive="router-link-active" routerLink="/search/{{type}}">
|
13
|
<span *ngIf="result['title'].name != undefined && result['title'].name != ''"
|
14
|
[innerHTML]="result['title'].name">
|
15
|
</span>
|
16
|
<!--p *ngIf="result['title'].name == undefined || result['title'].name == ''">
|
17
|
{{result['title'].url}}
|
18
|
</p-->
|
19
|
<span *ngIf="result['title'].name == undefined || result['title'].name == ''">
|
20
|
[no title available]
|
21
|
</span>
|
22
|
</a>
|
23
|
</div>
|
24
|
|
25
|
<div>
|
26
|
<span *ngIf="result['authors'] != undefined">
|
27
|
<span *ngFor="let author of result['authors'].slice(0,15)">
|
28
|
<!--a [queryParams]="routerHelper.createQueryParams(['author','au'],[quote(author['name']),'and'])" routerLinkActive="router-link-active" [routerLink]="'/search/advanced/'+type+'s'">
|
29
|
{{author['name']}};
|
30
|
</a-->
|
31
|
{{author}};
|
32
|
</span>
|
33
|
<span *ngIf="result['authors'].length > 15">...</span>
|
34
|
</span>
|
35
|
<span *ngIf="result.year != undefined && result.year != ''">
|
36
|
({{result.year}})
|
37
|
</span>
|
38
|
</div>
|
39
|
|
40
|
<div *ngIf="result.publisher != undefined && result.publisher != ''">Publisher: {{result.publisher}}</div>
|
41
|
|
42
|
<div *ngIf="result.country != undefined && result.country != ''">Country: {{result.country}}</div>
|
43
|
|
44
|
<div *ngIf="result['projects'] != undefined">
|
45
|
<span> Project: </span>
|
46
|
<span *ngFor="let project of result['projects'].slice(0,15) let i=index">
|
47
|
<!--a *ngIf="project.url != undefined" href="{{project.url}}"-->
|
48
|
<a *ngIf="project.id" [queryParams]="{projectId: project.id}" routerLinkActive="router-link-active" routerLink="/search/project">
|
49
|
{{project['funderShortname']?project['funderShortname']:project['funderName']}}
|
50
|
| {{ project['acronym']?project['acronym']:project['title']}} ({{project.code}})</a><span
|
51
|
|
52
|
*ngIf="!project.id">{{project['funderShortname']?project['funderShortname']:project['funderName']}}<span
|
53
|
*ngIf="project['acronym'] || project['title']"> | {{ project['acronym']?project['acronym']:project['title']}}</span><span
|
54
|
*ngIf="project.code">({{project.code}})</span></span><span
|
55
|
|
56
|
*ngIf="i < result['projects'].length-1">,</span>
|
57
|
</span>
|
58
|
<span *ngIf="result['projects'].length > 15">...</span>
|
59
|
</div>
|
60
|
|
61
|
<!--blockquote *ngIf="result.description != undefined && result.description != ''">
|
62
|
<div class="text-justify">
|
63
|
{{result.description}}
|
64
|
</div>
|
65
|
</blockquote-->
|
66
|
|
67
|
<mark *ngIf="result.embargoEndDate != undefined && result.embargoEndDate != ''">Embargo End Date: {{result.embargoEndDate}}</mark>
|
68
|
|
69
|
|
70
|
<div *ngIf="result['funders'] != undefined">
|
71
|
<!--span> Funders: </span-->
|
72
|
<span *ngFor="let funder of result['funders'] let i=index">
|
73
|
|
74
|
<span *ngIf="funder.funderShortname">
|
75
|
{{funder.funderShortname}}</span><span
|
76
|
|
77
|
*ngIf="i < result['funders'].length-1">,</span>
|
78
|
</span> <span *ngIf="result.startYear && result.endYear"> (start {{result.startYear}} - end {{result.endYear}})</span>
|
79
|
</div>
|
80
|
|
81
|
<div *ngIf="showOrganizations && result['organizations'] != undefined && result['organizations'].length > 0">
|
82
|
<span> Organization: </span>
|
83
|
<span *ngFor="let organization of result['organizations'].slice(0, 10) let i=index">
|
84
|
<!--a *ngIf="organization.url != undefined" href="{{organization.url}}"-->
|
85
|
<a *ngIf="organization.id" [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
|
86
|
{{organization.name}}</a><span
|
87
|
|
88
|
*ngIf="!organization.id">
|
89
|
{{organization.name}}</span><span
|
90
|
|
91
|
*ngIf="(i < result['organizations'].length-1) && (i < 9)">,</span>
|
92
|
</span>
|
93
|
<span *ngIf="result['organizations'].length > 10">...</span>
|
94
|
</div>
|
95
|
|
96
|
<div *ngIf="result['type'] != undefined && result['type'] != ''">Type: {{result['type']}}</div>
|
97
|
<div *ngIf="result['countries'] && result['countries'].length > 0">
|
98
|
Country: {{result.countries}}
|
99
|
</div>
|
100
|
<div *ngIf="result['websiteURL'] != undefined && result['websiteURL'] != ''">
|
101
|
<span>Website URL: </span>
|
102
|
<span>
|
103
|
<a href="{{result['websiteURL']}}" target="_blank" class="custom-external custom-icon">
|
104
|
{{result['websiteURL']}}
|
105
|
</a>
|
106
|
</span>
|
107
|
</div>
|
108
|
<div *ngIf="result['OAIPMHURL'] != undefined && result['OAIPMHURL'] != ''">
|
109
|
<span>OAI-PMH URL: </span>
|
110
|
<span>
|
111
|
<a href="{{result['OAIPMHURL']}}" target="_blank" class="custom-external custom-icon">
|
112
|
{{result['OAIPMHURL']}}
|
113
|
</a>
|
114
|
</span>
|
115
|
</div>
|
116
|
|
117
|
<div *ngIf="result['compatibility'] != undefined && result['compatibility'] != ''">
|
118
|
Compatibility: {{result.compatibility}}
|
119
|
</div>
|
120
|
|
121
|
</li>
|
122
|
</ul>
|