123 lines
6.3 KiB
HTML
123 lines
6.3 KiB
HTML
|
<ul class="uk-list uk-list-divider uk-margin">
|
||
|
<!--div *ngIf="status == errorCodes.NONE" class="uk-alert uk-alert-primary uk-animation-fade" role="alert">No Results found</div>
|
||
|
<div *ngIf="status == errorCodes.ERROR" class="uk-alert uk-alert-warning uk-animation-fade" role="alert">An Error Occured</div>
|
||
|
<div *ngIf="status == errorCodes.NOT_AVAILABLE" class="uk-alert uk-alert-danger uk-animation-fade" role="alert">Service not available</div>
|
||
|
<div *ngIf="status == errorCodes.LOADING && showLoading" class="uk-alert uk-alert-primary uk-animation-fade" role="alert">Loading...</div-->
|
||
|
|
||
|
<li *ngFor="let result of results" class="uk-animation-fade">
|
||
|
<div class = "uk-h4 {{result.title.accessMode}} {{result.title.sc39}}" [title] = result.title.accessMode >
|
||
|
<!--a href="{{result['title'].url}}"-->
|
||
|
<!--a [queryParams]="{articleId: 'od_______908::3a5b2885656a91307156325644e73b92'}" routerLinkActive="router-link-active" routerLink="search/publication"-->
|
||
|
|
||
|
<a [queryParams]="routerHelper.createQueryParam(urlParam,result.id)" routerLinkActive="router-link-active" routerLink="/search/{{type}}">
|
||
|
<span *ngIf="result['title'].name != undefined && result['title'].name != ''"
|
||
|
[innerHTML]="result['title'].name">
|
||
|
</span>
|
||
|
<!--p *ngIf="result['title'].name == undefined || result['title'].name == ''">
|
||
|
{{result['title'].url}}
|
||
|
</p-->
|
||
|
<span *ngIf="result['title'].name == undefined || result['title'].name == ''">
|
||
|
[no title available]
|
||
|
</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div>
|
||
|
<span *ngIf="result['authors'] != undefined">
|
||
|
<span *ngFor="let author of result['authors'].slice(0,15)">
|
||
|
<!--a [queryParams]="routerHelper.createQueryParams(['author','au'],[quote(author['name']),'and'])" routerLinkActive="router-link-active" [routerLink]="'/search/advanced/'+type+'s'">
|
||
|
{{author['name']}};
|
||
|
</a-->
|
||
|
{{author}};
|
||
|
</span>
|
||
|
<span *ngIf="result['authors'].length > 15">...</span>
|
||
|
</span>
|
||
|
<span *ngIf="result.year != undefined && result.year != ''">
|
||
|
({{result.year}})
|
||
|
</span>
|
||
|
</div>
|
||
|
|
||
|
<div *ngIf="result.publisher != undefined && result.publisher != ''">Publisher: {{result.publisher}}</div>
|
||
|
|
||
|
<div *ngIf="result.country != undefined && result.country != ''">Country: {{result.country}}</div>
|
||
|
|
||
|
<div *ngIf="result['projects'] != undefined">
|
||
|
<span> Project: </span>
|
||
|
<span *ngFor="let project of result['projects'].slice(0,15) let i=index">
|
||
|
<!--a *ngIf="project.url != undefined" href="{{project.url}}"-->
|
||
|
<a *ngIf="project.id" [queryParams]="{projectId: project.id}" routerLinkActive="router-link-active" routerLink="/search/project">
|
||
|
{{project['funderShortname']?project['funderShortname']:project['funderName']}}
|
||
|
| {{ project['acronym']?project['acronym']:project['title']}} ({{project.code}})</a><span
|
||
|
|
||
|
*ngIf="!project.id">{{project['funderShortname']?project['funderShortname']:project['funderName']}}<span
|
||
|
*ngIf="project['acronym'] || project['title']"> | {{ project['acronym']?project['acronym']:project['title']}}</span><span
|
||
|
*ngIf="project.code">({{project.code}})</span></span><span
|
||
|
|
||
|
*ngIf="i < result['projects'].length-1">,</span>
|
||
|
</span>
|
||
|
<span *ngIf="result['projects'].length > 15">...</span>
|
||
|
</div>
|
||
|
|
||
|
<!--blockquote *ngIf="result.description != undefined && result.description != ''">
|
||
|
<div class="text-justify">
|
||
|
{{result.description}}
|
||
|
</div>
|
||
|
</blockquote-->
|
||
|
|
||
|
<mark *ngIf="result.embargoEndDate != undefined && result.embargoEndDate != ''">Embargo End Date: {{result.embargoEndDate}}</mark>
|
||
|
|
||
|
|
||
|
<div *ngIf="result['funders'] != undefined">
|
||
|
<!--span> Funders: </span-->
|
||
|
<span *ngFor="let funder of result['funders'] let i=index">
|
||
|
|
||
|
<span *ngIf="funder.funderShortname">
|
||
|
{{funder.funderShortname}}</span><span
|
||
|
|
||
|
*ngIf="i < result['funders'].length-1">,</span>
|
||
|
</span> <span *ngIf="result.startYear && result.endYear"> (start {{result.startYear}} - end {{result.endYear}})</span>
|
||
|
</div>
|
||
|
|
||
|
<div *ngIf="showOrganizations && result['organizations'] != undefined && result['organizations'].length > 0">
|
||
|
<span> Organization: </span>
|
||
|
<span *ngFor="let organization of result['organizations'].slice(0, 10) let i=index">
|
||
|
<!--a *ngIf="organization.url != undefined" href="{{organization.url}}"-->
|
||
|
<a *ngIf="organization.id" [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
|
||
|
{{organization.name}}</a><span
|
||
|
|
||
|
*ngIf="!organization.id">
|
||
|
{{organization.name}}</span><span
|
||
|
|
||
|
*ngIf="(i < result['organizations'].length-1) && (i < 9)">,</span>
|
||
|
</span>
|
||
|
<span *ngIf="result['organizations'].length > 10">...</span>
|
||
|
</div>
|
||
|
|
||
|
<div *ngIf="result['type'] != undefined && result['type'] != ''">Type: {{result['type']}}</div>
|
||
|
<div *ngIf="result['countries'] && result['countries'].length > 0">
|
||
|
Country: {{result.countries}}
|
||
|
</div>
|
||
|
<div *ngIf="result['websiteURL'] != undefined && result['websiteURL'] != ''">
|
||
|
<span>Website URL: </span>
|
||
|
<span>
|
||
|
<a href="{{result['websiteURL']}}" target="_blank" class="custom-external custom-icon">
|
||
|
{{result['websiteURL']}}
|
||
|
</a>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div *ngIf="result['OAIPMHURL'] != undefined && result['OAIPMHURL'] != ''">
|
||
|
<span>OAI-PMH URL: </span>
|
||
|
<span>
|
||
|
<a href="{{result['OAIPMHURL']}}" target="_blank" class="custom-external custom-icon">
|
||
|
{{result['OAIPMHURL']}}
|
||
|
</a>
|
||
|
</span>
|
||
|
</div>
|
||
|
|
||
|
<div *ngIf="result['compatibility'] != undefined && result['compatibility'] != ''">
|
||
|
Compatibility: {{result.compatibility}}
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
</ul>
|