Project

General

Profile

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 || result.acronym">
14
               <span *ngIf="result.acronym">{{result.acronym}}</span>
15
               <span *ngIf="result.acronym && result['title'].name">-</span>
16
               <span [innerHTML]="result['title'].name"></span>
17
               <span *ngIf="result.code">({{result.code}})</span>
18
             </span>
19
             <span *ngIf="!result['title'].name && !result.acronym">
20
               [no title available]
21
               <span *ngIf="result.code">({{result.code}})</span>
22
            </span>
23
           </a>
24
       </div>
25

    
26
       <div>
27
           <span *ngIf="result['authors'] != undefined">
28
               <span *ngFor="let author of result['authors'].slice(0,15)">
29
                 <!--a [queryParams]="routerHelper.createQueryParams(['author','au'],[quote(author['name']),'and'])" routerLinkActive="router-link-active" [routerLink]="'/search/advanced/'+type+'s'">
30
                     {{author['name']}};
31
                 </a-->
32
                 {{author}};
33
               </span>
34
               <span *ngIf="result['authors'].length > 15">...</span>
35
           </span>
36
           <span *ngIf="result.year != undefined && result.year != ''">
37
               ({{result.year}})
38
           </span>
39
       </div>
40

    
41
       <div *ngIf="result.publisher != undefined && result.publisher != ''">Publisher: {{result.publisher}}</div>
42

    
43
       <div *ngIf="result.country != undefined && result.country != ''">Country: {{result.country}}</div>
44

    
45
       <div *ngIf="result['projects'] != undefined">
46
           <span> Project: </span>
47
           <span *ngFor="let project of result['projects'].slice(0,15) let i=index">
48
               <!--a *ngIf="project.url != undefined" href="{{project.url}}"-->
49
                   <a *ngIf="project.id" [queryParams]="{projectId: project.id}" routerLinkActive="router-link-active" routerLink="/search/project">
50
                       {{project['funderShortname']?project['funderShortname']:project['funderName']}}
51
                       | {{ project['acronym']?project['acronym']:project['title']}} ({{project.code}})</a><span
52

    
53
                       *ngIf="!project.id">{{project['funderShortname']?project['funderShortname']:project['funderName']}}<span
54
                           *ngIf="project['acronym'] || project['title']"> | {{ project['acronym']?project['acronym']:project['title']}}</span><span
55
                           *ngIf="project.code">({{project.code}})</span></span><span
56

    
57
               *ngIf="i < result['projects'].length-1">,</span>
58
           </span>
59
           <span *ngIf="result['projects'].length > 15">...</span>
60
       </div>
61

    
62
       <!--blockquote *ngIf="result.description != undefined && result.description != ''">
63
           <div class="text-justify">
64
               {{result.description}}
65
           </div>
66
       </blockquote-->
67

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

    
70

    
71
       <div *ngIf="result['funderShortname']">
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> -->
79
         <span>{{result['funderShortname']}}></span>
80
         <span *ngIf="result.startYear && result.endYear"> (start {{result.startYear}} - end {{result.endYear}})</span>
81
       </div>
82

    
83
       <div *ngIf="showOrganizations && result['organizations'] != undefined && result['organizations'].length > 0">
84
           <span> Organization: </span>
85
           <span *ngFor="let organization of result['organizations'].slice(0, 10) let i=index">
86
               <!--a *ngIf="organization.url != undefined" href="{{organization.url}}"-->
87
               <a *ngIf="organization.id" [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
88
                       {{organization.name}}</a><span
89

    
90
                   *ngIf="!organization.id">
91
                       {{organization.name}}</span><span
92

    
93
                   *ngIf="(i < result['organizations'].length-1) && (i < 9)">,</span>
94
           </span>
95
           <span *ngIf="result['organizations'].length > 10">...</span>
96
       </div>
97

    
98
       <div *ngIf="result['type'] != undefined && result['type'] != ''">Type: {{result['type']}}</div>
99
       <div *ngIf="result['countries'] && result['countries'].length > 0">
100
           Country: {{result.countries}}
101
       </div>
102
       <div *ngIf="result['websiteURL'] != undefined && result['websiteURL'] != ''">
103
           <span>Website URL: </span>
104
           <span>
105
               <a href="{{result['websiteURL']}}" target="_blank" class="custom-external custom-icon">
106
                   {{result['websiteURL']}}
107
               </a>
108
           </span>
109
       </div>
110
       <div *ngIf="result['OAIPMHURL'] != undefined && result['OAIPMHURL'] != ''">
111
           <span>OAI-PMH URL: </span>
112
           <span>
113
               <a href="{{result['OAIPMHURL']}}" target="_blank" class="custom-external custom-icon">
114
                   {{result['OAIPMHURL']}}
115
               </a>
116
           </span>
117
       </div>
118

    
119
       <div *ngIf="result['compatibility'] != undefined && result['compatibility'] != ''">
120
           Compatibility: {{result.compatibility}}
121
       </div>
122

    
123
   </li>
124
</ul>
(34-34/36)