Project

General

Profile

1
<div *ngIf="result">
2
  <!-- Before title -->
3
  <div class="uk-grid uk-flex uk-flex-middle">
4
    <div *ngIf="properties.enermapsURL && showEnermaps" class="uk-width-auto">
5
      <a [href]="properties.enermapsURL" target="_blank" ><img *ngIf="result.enermapsId"
6
                                                               class="uk-width-medium" [src]="properties.enermapsURL + '/images/' + result.enermapsId + '.png'" alt="Enermaps tool preview">
7
      </a>
8
    </div>
9
    <div class="uk-width-expand">
10
  <div>
11
    <!-- deposit searchPage URL -->
12
    <span class="uk-width-expand uk-flex-right">
13
        <a *ngIf="result.websiteURL && promoteWebsiteURL" href="{{result.websiteURL}}" target="_blank" type="submit"
14
           class="  uk-float-right uk-button uk-button-primary uk-padding uk-padding-remove-vertical uk-margin-small-left">
15
          <span><span>Visit repository to deposit</span><span uk-icon="arrow-right"></span></span>
16
        </a>
17
    </span>
18
    <div class="uk-text-small">
19
      <span *ngIf="type" class="uk-text-capitalize type">{{type}}</span>
20
      <span *ngIf="type && beforeTitle.length > 0"> . </span>
21
      <span *ngIf="beforeTitle.length > 0" class="uk-text-capitalize">
22
        {{beforeTitle.join(' . ')}}
23
      </span>
24
      <span *ngIf="result.embargoEndDate && result.embargoEndDate != ''">
25
        <span
26
            *ngIf="beforeTitle.length > 0"> . </span> Embargo End Date: {{result.embargoEndDate | date: 'dd MMM yyyy'}}
27
      </span>
28
    </div>
29
    <!-- Title -->
30
    <div class="uk-margin-small-bottom">
31
      <h6 class="uk-margin-remove uk-text-break">
32
        <a *ngIf="!externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
33
           (click)="onClick()" [queryParams]="createParam()"
34
           [routerLink]="url" class="uk-link uk-width-expand">
35
          <div *ngIf="(result.title) || result.acronym">
36
            <span *ngIf="result.acronym">
37
              {{result.acronym}}
38
            </span>
39
            <span *ngIf="result.acronym && (result.title)"> (</span>
40
            <span *ngIf="result.title" [innerHTML]="result.title"></span>
41
            <span *ngIf="result.acronym && result.title">)</span>
42
          </div>
43
          <div *ngIf="!result.title && !result.acronym">
44
            [no title available]
45
          </div>
46
        </a>
47

    
48
        <a *ngIf="externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
49
           (click)="onClick()"
50
           target="_blank" [href]="externalUrl+result.id" class="uk-link uk-width-expand">
51
          <span *ngIf="(result.title) || result.acronym">
52
            <span *ngIf="result.acronym">
53
              {{result.acronym}}
54
            </span>
55
            <span *ngIf="result.acronym && (result.title)"> (</span>
56
            <span *ngIf="result.title" [innerHTML]="result.title"></span>
57
            <span *ngIf="result.acronym && result.title">)</span>
58
          </span>
59
          <span *ngIf="!result.title && !result.acronym">
60
            [no title available]
61
          </span>
62
          <span class="custom-external custom-icon space"></span>
63
        </a>
64

    
65
        <div *ngIf="!result.id ||  (result.resultType == 'dataprovider' && result.compatibilityUNKNOWN)"
66
             class="uk-width-expand">
67
          <div *ngIf="(result.title) || result.acronym">
68
      <span *ngIf="result.acronym">
69
        {{result.acronym}}
70
      </span>
71
            <span *ngIf="result.acronym && (result.title)"> (</span>
72
            <span *ngIf="result.title" [innerHTML]="result.title"></span>
73
            <span *ngIf="result.acronym && result.title">)</span>
74
          </div>
75
          <div *ngIf="!result.title && !result.acronym">
76
            [no title available]
77
          </div>
78
        </div>
79
        <hr *ngIf="result.websiteURL && promoteWebsiteURL">
80
      </h6>
81
    </div>
82
    <!-- Funder -->
83
    <div *ngIf="result.funderShortname || result.code" class="uk-margin-small-bottom">
84
  <span *ngIf="result.funderShortname">
85
    <span class="uk-text-muted">Funder: </span>
86
    {{result.funderShortname}}
87
  </span>
88
      <span *ngIf="result.code" [class.uk-margin-left]="result.funderShortname">
89
    <span class="uk-text-muted">Project Code: </span>
90
        {{result.code}}
91
  </span>
92
      <!--      Currently not parsed -->
93
      <!--      <span *ngIf="result.callIdentifier" [class.uk-margin-left]="(result.funderShortname || result.code)">-->
94
      <!--    <span class="uk-text-muted">Call for proposal: </span>-->
95
      <!--        {{result.callIdentifier}}-->
96
      <!--  </span>-->
97
    </div>
98
    <!-- Funder Budget -->
99
    <div *ngIf="result.budget || result.contribution" class="uk-margin-small-bottom">
100
      <span *ngIf="result.budget">
101
        <span class="uk-text-muted">Overall Budget: </span>
102
        {{result.budget | number}}
103
        <span *ngIf="result.currency">{{result.currency}}</span>
104
      </span>
105
      <span *ngIf="result.contribution" [class.uk-margin-left]="result.budget">
106
        <span class="uk-text-muted">Funder Contribution: </span>
107
        {{result.contribution | number}}
108
        <span *ngIf="result.currency">{{result.currency}}</span>
109
      </span>
110
    </div>
111
    <!-- Labels -->
112
    <div class="uk-margin-small-bottom">
113
      <span
114
          *ngIf="result.accessMode && result.accessMode.toLowerCase() !== 'not available'"
115
          class="uk-label custom-label" [ngClass]="'label-' + accessClass(result.accessMode)"
116
          title="Access Mode">
117
        {{result.accessMode}}
118
      </span>{{' '}}
119
      <span *ngIf="result.openAccessMandatePublications && (!result.openAccessMandateDatasets)"
120
            class="uk-label custom-label label-open"
121
            title="Open Access mandate for Publications">
122
          Open Access mandate for Publications
123
  </span>{{' '}}
124
      <span
125
          *ngIf="result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets && (result.openAccessMandatePublications == undefined || !result.openAccessMandatePublications)"
126
          class="uk-label custom-label label-open " title="Open Access mandate for Research Data">
127
          Open Access mandate for Research Data
128
  </span>{{' '}}
129
      <span
130
          *ngIf="result.openAccessMandatePublications != undefined && result.openAccessMandatePublications && result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets"
131
          class="uk-label custom-label label-open "
132
          title="Open Access mandate for Publications and Research Data">
133
          Open Access mandate for Publications and Research Data
134
  </span>{{' '}}
135
      <span *ngIf="result.languages && result.languages.length > 0">
136
    <span *ngFor="let language of result.languages"
137
          class="uk-label custom-label label-language " title="Language">
138
      {{language}}
139
    </span>{{' '}}
140
  </span>
141
      <span *ngIf="result.programmingLanguages && result.programmingLanguages.length > 0">
142
    <span *ngFor="let programmingLanguage of result.programmingLanguages"
143
          class="uk-label custom-label label-language" title="Programming Language">
144
      {{programmingLanguage}}
145
    </span>{{" "}}
146
  </span>
147
      <span *ngIf="result.sc39" class="uk-label custom-label label-sc39" title="Special Clause 39">
148
    Special Clause 39
149
  </span>{{' '}}
150
      <span *ngIf="result.compatibility && result.compatibility != '' && result.compatibility != 'not available'"
151
            class="uk-label custom-label  label-compatibility" title="Compatibility">
152
    {{result.compatibility}}
153
  </span>{{' '}}
154
      <span *ngIf="result.compatibility != undefined && result.compatibility != '' && result.compatibility ==
155
      'not available'"
156
            class="uk-label custom-label  label-danger" title="OpenAIRE Compatibility">Not yet registered</span>
157
      {{' '}}
158
    </div>
159
    <!-- Authors -->
160
    <div *ngIf="result.authors" class="uk-flex uk-margin-small-bottom">
161
      <div class="uk-text-muted">Authors:</div>
162
      <showAuthors class="space" [authors]="result.authors" [authorsLimit]=10 [modal]="modal"
163
                   [showAll]=false [small]="false"></showAuthors>
164
    </div>
165
    <!-- Identifiers -->
166
    <div *ngIf="result.identifiers && result.identifiers.size > 0" class="uk-margin-small-bottom">
167
      <showIdentifiers [identifiers]="result.identifiers" [properties]="properties"></showIdentifiers>
168
    </div>
169
    <!-- Publisher -->
170
    <div *ngIf="result.publisher && result.publisher != ''" class="uk-margin-small-bottom">
171
      <span class="uk-text-muted">Publisher: </span>
172
      {{result.publisher}}
173
    </div>
174
    <!-- Countries -->
175
    <div *ngIf="result.countries && result.countries.length > 0"
176
         class="uk-margin-small-bottom">
177
      <span class="uk-text-muted">{{(result.countries.length == 1) ? 'Country' : 'Countries'}}: </span>
178
      <span *ngFor="let country of  result.countries.slice(0,10) let i = index">
179
        {{country}}{{(i < (result.countries.slice(0, 10).length - 1)) ? ", " : ""}}
180
        {{(i == result.countries.slice(0, 10).length - 1 && result.countries.length > 10) ? "..." : ""}}
181
  </span>
182
    </div>
183
    <!-- Projects -->
184
    <div *ngIf="result.projects && result.projects.length > 0" class="uk-margin-small-bottom">
185
      <span class="uk-text-muted"> Project: </span>
186
      <span *ngFor="let project of result.projects.slice(0,10) let i=index">
187
    <span>
188
      {{project.funderShortname ? project.funderShortname : project.funderName}}
189
    </span>
190
    <span *ngIf="project.acronym || project.title">
191
      | {{ project.acronym ? project.acronym : (project.title.length > 25 ?
192
        project.title.substring(0, 25) + '...' : project.title)}}
193
    </span>
194
    <span *ngIf="project.code"> ({{project.code}})</span>
195
    <span *ngIf="i < result.projects.length-1">,</span>
196
  </span>
197
      <span *ngIf="result.projects.length > 10">...</span>
198
    </div>
199
    <!-- Organizations -->
200
    <div *ngIf="showOrganizations && result.organizations && result.organizations.length > 0"
201
         class="uk-margin-small-bottom">
202
      <span class="uk-text-muted">Partners: </span>
203
      <span *ngFor="let organization of result.organizations.slice(0,10) let i=index">
204
    <span>{{organization.name}}</span>
205
    <span *ngIf="(i < result.organizations.length-1) && (i < 9)">, </span>
206
  </span>
207
      <span *ngIf="result.organizations.length > 10">...</span>
208
    </div>
209
    <!-- Website URL -->
210
    <div *ngIf="result.websiteURL && result.websiteURL != '' && !promoteWebsiteURL" class="uk-margin-small-bottom">
211
      <span class="uk-text-muted">Website URL: </span>
212
      <span>
213
            <a href="{{result.websiteURL}}" target="_blank">
214
              <span class="custom-external custom-icon"></span>
215
              {{result.websiteURL}}
216
            </a>
217
        </span>
218
    </div>
219
    <!-- OAI-PMH URL-->
220
    <div *ngIf="result.OAIPMHURL && result.OAIPMHURL != ''" class="uk-margin-small-bottom">
221
      <span class="uk-text-muted">OAI-PMH URL: </span>
222
      <span>
223
        <a href="{{result.OAIPMHURL}}" target="_blank">
224
          <span class="custom-external custom-icon"></span>
225
          {{result.OAIPMHURL}}
226
        </a>
227
      </span>
228
    </div>
229
    <!-- Subjects -->
230
    <div *ngIf="showSubjects && result.subjects && result.subjects.length > 0"
231
         class="uk-margin-small-bottom">
232
      <span class="uk-text-muted">Subject: </span>
233
      <span *ngFor="let subject of  result.subjects.slice(0,10) let i = index">
234
        <span>{{subject}}</span>
235
        <span>{{(i < (result.subjects.slice(0, 10).length - 1)) ? ", " : ""}}</span>
236
        <span>{{(i == result.subjects.slice(0, 10).length - 1 && result.subjects.length > 10) ? "..." : ""}}</span>
237
  </span>
238
    </div>
239
  </div>
240
  <!-- Description -->
241
  <div *ngIf="result.description" class="uk-margin-small-bottom multi-line-ellipsis lines-3">
242
    <p class="uk-text-muted">
243
      {{result.description}}
244
    </p>
245
  </div>
246
  <!-- Download from-->
247
  <div *ngIf="result.hostedBy_collectedFrom && result.hostedBy_collectedFrom.length > 0"
248
       class="uk-margin-small-bottom download-from">
249
    <div *ngFor="let from of result.hostedBy_collectedFrom"
250
         [title]="from.bestAccessMode ? from.bestAccessMode : 'Not available'"
251
         class="uk-flex">
252
    <span class="uk-margin-small-right">
253
      <img [src]="from.icon">
254
    </span>
255
      <span class="uk-width-expand">
256
      <span class="uk-margin-right uk-display-inline-block">
257
        <span class="uk-text-muted">Download from: </span>
258
        <span *ngIf="from.downloadUrl.length > 1" class="title">
259
            <span>{{from.downloadName}}</span>
260
            <a *ngFor="let url of from.downloadUrl; let i=index;"
261
               [href]="url" target="_blank">
262
               [{{(i + 1) | number}}]
263
            </a>
264
          </span>
265
        <a *ngIf="from.downloadUrl && from.downloadUrl.length === 1"
266
           [href]="from.downloadUrl[0]" target="_blank" class="title">
267
          {{from.downloadName}}
268
          <span class="custom-external space"></span>
269
        </a>
270
        <span *ngIf="!from.downloadUrl || from.downloadUrl.length === 0" class="title">
271
          {{from.downloadName}}
272
        </span>
273
      </span>
274
      <span class="provider uk-display-inline-block">
275
        <span class="uk-text-muted">Provider: </span>
276
        <!--      target="_blank"-->
277
        <a *ngIf="from.collectedId" [routerLink]="dataProviderUrl" [queryParams]="{datasourceId: from.collectedId}"
278
           [href]="from.downloadUrl[0]" (click)="onClick();">
279
          {{from.collectedName}}
280
          <!--        <span class="custom-external space"></span>-->
281
        </a>
282
        <span *ngIf="!from.collectedId">
283
          {{from.collectedName}}
284
        </span>
285
      </span>
286
    </span>
287
    </div>
288
  </div>
289
    </div>
290
  </div>
291
  <!--&& loggedIn -->
292
  <div *ngIf="(result.pop_inf && result.DOI) ||
293
                (properties.adminToolsPortalType == 'explore' &&
294
                  ((showOrcid && result.identifiers && result.identifiers.size > 0) || (result.orcidUpdateDates?.length > 0 || result.orcidCreationDates?.length > 0)))"
295
      class="result-preview-bottom">
296
    <!-- Impact Factors-->
297
    <span class="uk-flex uk-flex-top">
298
    <ng-container *ngIf="result.pop_inf && result.DOI">
299
    <!--Popularity -->
300
    <a title="Popularity" class="popularity-{{result.pop_inf[0]}}  uk-margin-right uk-flex uk-flex-middle">
301
      <svg xmlns="http://www.w3.org/2000/svg" width="10.749" height="14.33" viewBox="0 0 10.749 14.33"><defs><!--<style>.a{fill:#d51717;}</style>--></defs><path
302
          class="a"
303
          d="M10.382.67a14.44,14.44,0,0,1,.5,3.225A2.331,2.331,0,0,1,8.589,6.4,2.445,2.445,0,0,1,6.15,3.895l.02-.242A9.25,9.25,0,0,0,4,9.625a5.375,5.375,0,0,0,10.749,0A11.5,11.5,0,0,0,10.382.67ZM9.18,12.985a2.134,2.134,0,0,1-2.163-2.11A2.1,2.1,0,0,1,8.9,8.779a5.181,5.181,0,0,0,3.1-1.733,9.374,9.374,0,0,1,.4,2.714A3.226,3.226,0,0,1,9.18,12.985Z"
304
          transform="translate(-4 -0.67)"/></svg>
305
      <span class="uk-margin-small-left"
306
      >
307
        {{" " + result.pop_inf[2] +
308
      " popularity" }}</span>
309

    
310
    </a>
311
    <div
312
        class="default-dropdown uk-margin-remove-top uk-padding-medium"
313
        uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
314
        <span class=" uk-flex uk-flex-middle">
315
          <span class="popularity-{{result.pop_inf[0]}}">
316
             <svg xmlns="http://www.w3.org/2000/svg" width="20.234" height="26.974"
317
                  viewBox="0 0 20.234 26.974"><defs> </defs><path class="a"
318
                                                                  d="M16.014.67a27.181,27.181,0,0,1,.936,6.07c0,2.605-1.707,4.717-4.312,4.717A4.6,4.6,0,0,1,8.047,6.74l.038-.455A17.411,17.411,0,0,0,4,17.527a10.117,10.117,0,0,0,20.234,0A21.643,21.643,0,0,0,16.014.67ZM13.75,23.85A4.016,4.016,0,0,1,9.678,19.88c0-2.049,1.328-3.49,3.554-3.946a9.753,9.753,0,0,0,5.843-3.263,17.645,17.645,0,0,1,.746,5.109,6.072,6.072,0,0,1-6.07,6.07Z"
319
                                                                  transform="translate(-4 -0.67)"/></svg>
320
            </span>
321
          <span class=" uk-margin-small-left uk-text-large">{{" " + result.pop_inf[2] +
322
          " popularity" }}</span>
323
          <span
324
              class="uk-margin-small-top uk-margin-small-left">{{" " + (result.pop_inf[0] == 'A' ? 'In top  0.01%' : '') + (result.pop_inf[0] == 'B' ? 'In top 1%' : '') + (result.pop_inf[0] == 'C' ? 'In bottom 99%' : '')}}</span>
325
        </span>
326
        <div class="uk-text-muted uk-margin">Popularity: Citation-based measure reflecting the current impact.</div>
327
        <div>
328
          <a title="Link to Bip!Finder" class="uk-float-right" target="_blank"
329
             href="https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
330
        </div>
331
</div>
332
      <!--Influence -->
333
<a title="Influence" class="influence-{{result.pop_inf[1]}} uk-margin-right uk-flex uk-flex-middle">
334
  <svg xmlns="http://www.w3.org/2000/svg" width="12.667" height="14" viewBox="0 0 12.667 14">
335
    <defs><!--<style>.a{fill:#e1920a;}</style>--></defs>
336
    <path class="a"
337
          d="M3.333,7v4.667h2V7Zm4,0v4.667h2V7ZM2,15H14.667V13H2Zm9.333-8v4.667h2V7Zm-3-6L2,4.333V5.667H14.667V4.333Z"
338
          transform="translate(-2 -1)"/>
339
  </svg>
340
  <span class="uk-margin-small-left"
341
  >{{" " + result.pop_inf[3] +
342
  " influence" }}</span>
343
</a>
344
<div
345
    class="default-dropdown uk-margin-remove-top uk-padding-medium"
346
    uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
347
        <span class=" uk-flex uk-flex-middle">
348
          <span class="influence-{{result.pop_inf[1]}}">
349
             <svg xmlns="http://www.w3.org/2000/svg" width="24.299" height="26.857" viewBox="0 0 24.299 26.857"><defs><style>.a {
350
               fill: #464646;
351
             }</style></defs><path class="a"
352
                                   d="M4.558,12.51v8.952H8.394V12.51Zm7.673,0v8.952h3.837V12.51ZM2,27.857H26.3V24.02H2ZM19.9,12.51v8.952h3.837V12.51ZM14.149,1,2,7.394V9.952H26.3V7.394Z"
353
                                   transform="translate(-2 -1)"/></svg>
354
            </span>
355
          <span class=" uk-margin-small-left uk-text-large"
356
          >{{result.pop_inf[3] +
357
          " influence" }}</span>
358
          <span
359
              class="uk-margin-small-top uk-margin-small-left">{{" " + (result.pop_inf[1] == 'A' ? 'In top  0.01%' : '') + (result.pop_inf[1] == 'B' ? 'In top 1%' : '') + (result.pop_inf[1] == 'C' ? 'In bottom 99%' : '')}}</span>
360
        </span>
361

    
362
        <div class="uk-text-muted uk-margin">Influence: Citation-based measure reflecting the total impact.</div>
363
        <div>
364
          <a title="Link to Bip!Finder" class=" uk-float-right" target="_blank" href=
365
              "https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
366
        </div>
367
      </div>
368
    </ng-container>
369
      <!-- && loggedIn    -->
370
    <span *ngIf="properties.adminToolsPortalType == 'explore' && showOrcid && result.identifiers && result.identifiers.size > 0"
371
        class="uk-width-1-3 uk-width-expand@s">
372
<!--          class="uk-flex uk-flex-middle  uk-flex-right uk-width-expand">-->
373
      <orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"
374
                  [resultId]="result.relcanId" [resultTitle]="result.title"
375
                  [type]="result.resultType" [pageType]="'search'"
376
                  [putCodes]="result.orcidPutCodes" [givenPutCode]="true" [identifiers]="result.identifiers">
377
      </orcid-work>
378
    </span>
379
    <span *ngIf="properties.adminToolsPortalType == 'explore' && (result.orcidUpdateDates?.length > 0 || result.orcidCreationDates?.length > 0)"
380
        class="uk-width-expand uk-text-right">
381
      <span *ngIf="result.orcidCreationDates?.length > 0" class="uk-display-inline-block">
382
        <span class="uk-text-muted">Added in ORCID:</span>
383
        <span *ngFor="let date of result.orcidCreationDates; let i=index">
384
          {{date | date: 'dd MMM yyyy'}}
385
          <span *ngIf="i < (result.orcidCreationDates.length - 1)">& </span>
386
        </span>
387
      </span>
388
      <span *ngIf="result.orcidCreationDates?.length > 0 && result.orcidUpdateDates?.length > 0">
389
        {{' . '}}
390
      </span>
391
      <span *ngIf="result.orcidUpdateDates?.length > 0" class="uk-display-inline-block">
392
        <span class="uk-text-muted">Last update in ORCID:</span>
393
        <span *ngFor="let date of result.orcidUpdateDates; let i=index">
394
          {{date | date: 'dd MMM yyyy'}}
395
          <span *ngIf="i < (result.orcidUpdateDates.length - 1)">& </span>
396
        </span>
397
      </span>
398
    </span>
399
  </span>
400
  </div>
401
</div>
(1-1/4)