Project

General

Profile

1
<ul class="uk-list uk-list-divider  uk-margin">
2
   <li *ngFor="let result of results">
3
       <!-- <div class = "uk-h4 {{result.title.accessMode}} {{result.title.sc39}}" [title] = result.title.accessMode >
4
           <a [queryParams]="routerHelper.createQueryParam(urlParam,result.id)" routerLinkActive="router-link-active" routerLink="/search/{{type}}">
5
             <span *ngIf="result['title'].name || result.acronym">
6
               <span *ngIf="result.acronym">{{result.acronym}}</span>
7
               <span *ngIf="result.acronym && result['title'].name">-</span>
8
               <span *ngIf="result['title'].name" [innerHTML]="result['title'].name"></span>
9
               <span *ngIf="result.code">({{result.code}})</span>
10
             </span>
11
             <span *ngIf="!result['title'].name && !result.acronym">
12
               [no title available]
13
               <span *ngIf="result.code">({{result.code}})</span>
14
            </span>
15
           </a>
16
       </div> -->
17
       <h5  [title] = result.title.accessMode >
18
           <a *ngIf="!result.compatibilityUNKNOWN" [queryParams]="routerHelper.createQueryParam(urlParam,result.id)" routerLinkActive="router-link-active" routerLink="/search/{{type}}">
19
             <p *ngIf="result['title'].name || result.acronym"><span *ngIf="result.acronym">{{result.acronym}}</span><span *ngIf="result.acronym && result['title'].name">-</span><span *ngIf="result['title'].name" [innerHTML]="result['title'].name"></span><span *ngIf="result.code"> ({{result.code}})</span></p>
20
             <p *ngIf="!result['title'].name && !result.acronym">[no title available]<span *ngIf="result.code"> ({{result.code}})</span></p>
21
           </a>
22

    
23
           <p *ngIf="result.compatibilityUNKNOWN && result['title'].name"
24
              title="Incompatible content provider" [innerHTML]="result['title'].name">
25
           </p>
26
           <p *ngIf="result.compatibilityUNKNOWN && !result['title'].name"
27
              title="Incompatible content provider" >[no title available]
28
           </p>
29
       </h5>
30

    
31
       <span *ngIf="result.types && result.types.length > 0" [class]="'uk-label custom-label label-blue label-'+result.entityType" title="Type">{{result.types.join(", ")}}</span>
32
       <span *ngIf="result.programmingLanguages && result.programmingLanguages.length > 0" class="uk-label custom-label  label-progrLanguage " title="Programming Language">{{result.programmingLanguages.join(", ")}}</span>
33
       <span *ngIf="result.languages && result.languages.length > 0" class="uk-label custom-label  label-language " title="Language">{{result.languages.join(", ")}}</span>
34
       <span *ngIf="result.countriesForResults && result.countriesForResults.length > 0" class="uk-label custom-label  label-country " title="Country">{{result.countriesForResults.join(", ")}}</span>
35
       <span *ngIf="result.title && result.title.accessMode" [class]="'uk-label custom-label  label-'+ result.title.accessMode " title="Access Mode">{{result.title.accessMode}}</span>
36
       <span *ngIf="result['funderShortname']" class="uk-label custom-label label-funder " title="Funder">{{result['funderShortname']}}</span>
37
       <span *ngIf="result.openAccessMandatePublications != undefined && result.openAccessMandatePublications && (result.openAccessMandateDatasets == undefined || !result.openAccessMandateDatasets)"
38
              class="uk-label custom-label label-openaccessmandate " title="Open Access mandate for Publications">Open Access mandate for Publications</span>
39
       <span *ngIf="result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets && (result.openAccessMandatePublications == undefined || !result.openAccessMandatePublications)"
40
              class="uk-label custom-label label-openaccessmandate " title="Open Access mandate for Research Data">Open Access mandate for Research Data</span>
41
       <span *ngIf="result.openAccessMandatePublications != undefined && result.openAccessMandatePublications && result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets"
42
              class="uk-label custom-label label-openaccessmandate " title="Open Access mandate for Publications and Research Data">Open Access mandate for Publications and Research Data</span>
43
       <div *ngIf="result.publisher != undefined && result.publisher != ''"><span class="uk-text-bold">Publisher:</span> {{result.publisher}}</div>
44
       <span *ngIf="result['type'] != undefined && result['type'] != ''" class="uk-label custom-label label-blue label-dataprovider" title="Type"> {{result['type']}}</span>
45
       <span *ngIf="result['compatibility'] != undefined && result['compatibility'] != ''" class="uk-label custom-label  label-compatibility" title="Compatibility">{{result.compatibility}}</span>
46
       <span *ngIf="result.country != undefined && result.country != ''" class="uk-label custom-label  label-country" title="Country"> {{result.country}}</span>
47

    
48
       <div class="uk-margin-small">
49
         <span *ngIf="result['authors'] != undefined" class="resultsAuthors uk-margin-small-top" style="font-style: italic;">
50
           <span *ngFor="let author of result['authors'].slice(0,15)">
51
             {{author}};
52
           </span>
53
           <span *ngIf="result['authors'].length > 15">...</span>
54
         </span>
55
         <span *ngIf="result.year != undefined && result.year != ''">
56
           ({{result.year}})
57
         </span>
58
       </div>
59

    
60
       <div *ngIf="result['projects'] != undefined">
61
         <span> Project: </span>
62
         <span *ngFor="let project of result['projects'].slice(0,15) let i=index">
63
                 <a *ngIf="project.id" [queryParams]="{projectId: project.id}" routerLinkActive="router-link-active" routerLink="/search/project">
64
                     {{project['funderShortname']?project['funderShortname']:project['funderName']}}
65
                     | {{ project['acronym']?project['acronym']:(project['title'].length>25?project['title'].substring(0,25)+'...':project['title'])}} ({{project.code}})</a><span
66

    
67
                     *ngIf="!project.id">{{project['funderShortname']?project['funderShortname']:project['funderName']}}<span
68
                         *ngIf="project['acronym'] || project['title']"> | {{ project['acronym']?project['acronym']:(project['title'].length>25?project['title'].substring(0,25)+'...':project['title'])}}</span><span
69
                         *ngIf="project.code">({{project.code}})</span></span><span
70

    
71
             *ngIf="i < result['projects'].length-1">,</span>
72
         </span>
73
         <span *ngIf="result['projects'].length > 15">...</span>
74
        </div>
75

    
76
        <mark *ngIf="result.embargoEndDate != undefined && result.embargoEndDate != ''">Embargo End Date: {{result.embargoEndDate}}</mark>
77

    
78
        <div *ngIf="result.startYear && result.endYear"> Start year: {{result.startYear}} - End year: {{result.endYear}}</div>
79
        <div *ngIf="showOrganizations && result['organizations'] != undefined && result['organizations'].length > 0">
80
             <span> Organization: </span>
81
             <span *ngFor="let organization of result['organizations'].slice(0,10) let i=index">
82
                 <a *ngIf="organization.id" [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
83
                         {{organization.name}}</a><span
84

    
85
                     *ngIf="!organization.id">
86
                         {{organization.name}}</span><span
87

    
88
                     *ngIf="(i < result['organizations'].length-1) && (i < 9)">,</span>
89
             </span>
90
             <span *ngIf="result['organizations'].length > 10">...</span>
91
         </div>
92

    
93
        <div *ngIf="result['countries'] && result['countries'].length > 0">
94
            Country: <span *ngFor="let country of  result['countries'].slice(0,10) let i = index">{{country}}{{(i < ( result['countries'].slice(0,10).length-1))?", ":""}}{{(i ==  result['countries'].slice(0,10).length-1 &&  result['countries'].length > 10)?"...":""}}</span>
95
        </div>
96
        <div *ngIf="result['websiteURL'] != undefined && result['websiteURL'] != ''">
97
               <span>Website URL: </span>
98
               <span>
99
                   <a href="{{result['websiteURL']}}" target="_blank" class="custom-external custom-icon">
100
                       {{result['websiteURL']}}
101
                   </a>
102
               </span>
103
        </div>
104
        <div *ngIf="result['OAIPMHURL'] != undefined && result['OAIPMHURL'] != ''">
105
               <span>OAI-PMH URL: </span>
106
               <span>
107
                   <a href="{{result['OAIPMHURL']}}" target="_blank" class="custom-external custom-icon">
108
                       {{result['OAIPMHURL']}}
109
                   </a>
110
               </span>
111
         </div>
112
   </li>
113
</ul>
(43-43/45)