Project

General

Profile

1
<!-- Before title -->
2
<div *ngIf="result">
3
  <div>
4
    <!-- deposit searchPage URL -->
5
    <span class="uk-width-expand uk-flex-right">
6
        <a *ngIf="result.websiteURL && promoteWebsiteURL" href="{{result.websiteURL}}" target="_blank" type="submit"
7
           class="  uk-float-right uk-button uk-button-primary uk-padding uk-padding-remove-vertical uk-margin-small-left">
8
          <span><span>Visit repository to deposit</span><span uk-icon="arrow-right"></span></span>
9
        </a>
10
    </span>
11
    <div class="uk-text-small">
12
      <span *ngIf="type" class="uk-text-capitalize type">{{type}}</span>
13
      <span *ngIf="type && beforeTitle.length > 0"> . </span>
14
      <span *ngIf="beforeTitle.length > 0" class="uk-text-capitalize">
15
        {{beforeTitle.join(' . ')}}
16
      </span>
17
      <span *ngIf="result.embargoEndDate && result.embargoEndDate != ''">
18
        <span
19
            *ngIf="beforeTitle.length > 0"> . </span> Embargo End Date: {{result.embargoEndDate | date: 'dd MMM yyyy'}}
20
      </span>
21
    </div>
22
    <!-- Title -->
23
    <div class="uk-margin-small-bottom">
24
      <h6 class="uk-margin-remove">
25
        <a *ngIf="result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
26
           (click)="onClick()" [queryParams]="routerHelper.createQueryParam(urlParam,result.id)"
27
           [routerLink]="url" class="uk-link uk-width-expand">
28
          <div *ngIf="(result.title) || result.acronym">
29
            <span *ngIf="result.acronym">
30
              {{result.acronym}}
31
            </span>
32
            <span *ngIf="result.acronym && (result.title)"> (</span>
33
            <span *ngIf="result.title" [innerHTML]="result.title"></span>
34
            <span *ngIf="result.acronym && result.title">)</span>
35
          </div>
36
          <div *ngIf="!result.title && !result.acronym">
37
            [no title available]
38
          </div>
39
        </a>
40
        <div *ngIf="!result.id ||  (result.resultType == 'dataprovider' && result.compatibilityUNKNOWN)"
41
             class="uk-width-expand">
42
          <div *ngIf="(result.title) || result.acronym">
43
      <span *ngIf="result.acronym">
44
        {{result.acronym}}
45
      </span>
46
            <span *ngIf="result.acronym && (result.title)"> (</span>
47
            <span *ngIf="result.title" [innerHTML]="result.title"></span>
48
            <span *ngIf="result.acronym && result.title">)</span>
49
          </div>
50
          <div *ngIf="!result.title && !result.acronym">
51
            [no title available]
52
          </div>
53
        </div>
54
        <hr *ngIf="result.websiteURL && promoteWebsiteURL">
55
      </h6>
56
    </div>
57
    <!-- Funder -->
58
    <div *ngIf="result.funderShortname || result.code" class="uk-margin-small-bottom">
59
  <span *ngIf="result.funderShortname">
60
    <span class="uk-text-muted">Funder: </span>
61
    {{result.funderShortname}}
62
  </span>
63
      <span *ngIf="result.code" [class.uk-margin-left]="result.funderShortname">
64
    <span class="uk-text-muted">Project Code: </span>
65
        {{result.code}}
66
  </span>
67
      <!--      Currently not parsed -->
68
      <!--      <span *ngIf="result.callIdentifier" [class.uk-margin-left]="(result.funderShortname || result.code)">-->
69
      <!--    <span class="uk-text-muted">Call for proposal: </span>-->
70
      <!--        {{result.callIdentifier}}-->
71
      <!--  </span>-->
72
    </div>
73
    <!-- Funder Budget -->
74
    <div *ngIf="result.budget || result.contribution" class="uk-margin-small-bottom">
75
      <span *ngIf="result.budget">
76
        <span class="uk-text-muted">Overall Budget: </span>
77
        {{result.budget | number}}
78
        <span *ngIf="result.currency">{{result.currency}}</span>
79
      </span>
80
      <span *ngIf="result.contribution" [class.uk-margin-left]="result.budget">
81
        <span class="uk-text-muted">Funder Contribution: </span>
82
        {{result.contribution | number}}
83
        <span *ngIf="result.currency">{{result.currency}}</span>
84
      </span>
85
    </div>
86
    <!-- Labels -->
87
    <div class="uk-margin-small-bottom">
88
      <span
89
          *ngIf="result.accessMode && result.accessMode.toLowerCase() !== 'not available'"
90
          class="uk-label custom-label" [ngClass]="'label-' + accessClass(result.accessMode)"
91
          title="Access Mode">
92
        {{result.accessMode}}
93
      </span>{{' '}}
94
      <span *ngIf="result.openAccessMandatePublications && (!result.openAccessMandateDatasets)"
95
            class="uk-label custom-label label-open"
96
            title="Open Access mandate for Publications">
97
          Open Access mandate for Publications
98
  </span>{{' '}}
99
      <span
100
          *ngIf="result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets && (result.openAccessMandatePublications == undefined || !result.openAccessMandatePublications)"
101
          class="uk-label custom-label label-open " title="Open Access mandate for Research Data">
102
          Open Access mandate for Research Data
103
  </span>{{' '}}
104
      <span
105
          *ngIf="result.openAccessMandatePublications != undefined && result.openAccessMandatePublications && result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets"
106
          class="uk-label custom-label label-open "
107
          title="Open Access mandate for Publications and Research Data">
108
          Open Access mandate for Publications and Research Data
109
  </span>{{' '}}
110
      <span *ngIf="result.languages && result.languages.length > 0">
111
    <span *ngFor="let language of result.languages"
112
          class="uk-label custom-label label-language " title="Language">
113
      {{language}}
114
    </span>{{' '}}
115
  </span>
116
      <span *ngIf="result.programmingLanguages && result.programmingLanguages.length > 0">
117
    <span *ngFor="let programmingLanguage of result.programmingLanguages"
118
          class="uk-label custom-label label-language" title="Programming Language">
119
      {{programmingLanguage}}
120
    </span>{{" "}}
121
  </span>
122
      <span *ngIf="result.sc39" class="uk-label custom-label label-sc39" title="Special Clause 39">
123
    Special Clause 39
124
  </span>{{' '}}
125
      <span *ngIf="result.compatibility && result.compatibility != '' && result.compatibility != 'not available'"
126
            class="uk-label custom-label  label-compatibility" title="Compatibility">
127
    {{result.compatibility}}
128
  </span>{{' '}}
129
      <span *ngIf="result.compatibility != undefined && result.compatibility != '' && result.compatibility ==
130
      'not available'"
131
            class="uk-label custom-label  label-danger" title="OpenAIRE Compatibility">Not yet registered</span>
132
      {{' '}}
133
    </div>
134
    <!-- Authors -->
135
    <div *ngIf="result.authors" class="uk-flex uk-margin-small-bottom">
136
      <div class="uk-text-muted">Authors:</div>
137
      <showAuthors class="space" [authors]="result.authors" [authorsLimit]=10 [modal]="modal"
138
                   [showAll]=false [small]="false"></showAuthors>
139
    </div>
140
    <!-- Identifiers -->
141
    <div *ngIf="result.identifiers && result.identifiers.size > 0" class="uk-margin-small-bottom">
142
      <showIdentifiers [identifiers]="result.identifiers" [properties]="properties"></showIdentifiers>
143
    </div>
144
    <!-- Publisher -->
145
    <div *ngIf="result.publisher && result.publisher != ''" class="uk-margin-small-bottom">
146
      <span class="uk-text-muted">Publisher: </span>
147
      {{result.publisher}}
148
    </div>
149
    <!-- Countries -->
150
    <div *ngIf="result.countries && result.countries.length > 0"
151
         class="uk-margin-small-bottom">
152
      <span class="uk-text-muted">{{(result.countries.length == 1) ? 'Country' : 'Countries'}}: </span>
153
      <span *ngFor="let country of  result.countries.slice(0,10) let i = index">
154
        {{country}}{{(i < (result.countries.slice(0, 10).length - 1)) ? ", " : ""}}
155
        {{(i == result.countries.slice(0, 10).length - 1 && result.countries.length > 10) ? "..." : ""}}
156
  </span>
157
    </div>
158
    <!-- Projects -->
159
    <div *ngIf="result.projects && result.projects.length > 0" class="uk-margin-small-bottom">
160
      <span class="uk-text-muted"> Project: </span>
161
      <span *ngFor="let project of result.projects.slice(0,10) let i=index">
162
    <span>
163
      {{project.funderShortname ? project.funderShortname : project.funderName}}
164
    </span>
165
    <span *ngIf="project.acronym || project.title">
166
      | {{ project.acronym ? project.acronym : (project.title.length > 25 ?
167
        project.title.substring(0, 25) + '...' : project.title)}}
168
    </span>
169
    <span *ngIf="project.code"> ({{project.code}})</span>
170
    <span *ngIf="i < result.projects.length-1">,</span>
171
  </span>
172
      <span *ngIf="result.projects.length > 10">...</span>
173
    </div>
174
    <!-- Organizations -->
175
    <div *ngIf="showOrganizations && result.organizations && result.organizations.length > 0"
176
         class="uk-margin-small-bottom">
177
      <span class="uk-text-muted">Partners: </span>
178
      <span *ngFor="let organization of result.organizations.slice(0,10) let i=index">
179
    <span>{{organization.name}}</span>
180
    <span *ngIf="(i < result.organizations.length-1) && (i < 9)">, </span>
181
  </span>
182
      <span *ngIf="result.organizations.length > 10">...</span>
183
    </div>
184
    <!-- Website URL -->
185
    <div *ngIf="result.websiteURL && result.websiteURL != '' && !promoteWebsiteURL" class="uk-margin-small-bottom">
186
      <span class="uk-text-muted">Website URL: </span>
187
      <span>
188
            <a href="{{result.websiteURL}}" target="_blank">
189
              <span class="custom-external custom-icon"></span>
190
              {{result.websiteURL}}
191
            </a>
192
        </span>
193
    </div>
194
    <!-- OAI-PMH URL-->
195
    <div *ngIf="result.OAIPMHURL && result.OAIPMHURL != ''" class="uk-margin-small-bottom">
196
      <span class="uk-text-muted">OAI-PMH URL: </span>
197
      <span>
198
        <a href="{{result.OAIPMHURL}}" target="_blank">
199
          <span class="custom-external custom-icon"></span>
200
          {{result.OAIPMHURL}}
201
        </a>
202
      </span>
203
    </div>
204
    <!-- Subjects -->
205
    <div *ngIf="showSubjects && result.subjects && result.subjects.length > 0"
206
         class="uk-margin-small-bottom">
207
      <span class="uk-text-muted">Subject: </span>
208
      <span *ngFor="let subject of  result.subjects.slice(0,10) let i = index">
209
        <span>{{subject}}</span>
210
        <span>{{(i < (result.subjects.slice(0, 10).length - 1)) ? ", " : ""}}</span>
211
        <span>{{(i == result.subjects.slice(0, 10).length - 1 && result.subjects.length > 10) ? "..." : ""}}</span>
212
  </span>
213
    </div>
214
  </div>
215
  <!-- Description -->
216
  <div *ngIf="result.description" class="uk-margin-small-bottom multi-line-ellipsis lines-3">
217
    <p class="uk-text-muted">
218
      {{result.description}}
219
    </p>
220
  </div>
221
  <!-- Download from-->
222
  <div *ngIf="result.hostedBy_collectedFrom && result.hostedBy_collectedFrom.length > 0"
223
       class="uk-margin-small-bottom download-from">
224
    <div *ngFor="let from of result.hostedBy_collectedFrom"
225
         [title]="from.bestAccessMode ? from.bestAccessMode : 'Not available'"
226
         class="uk-flex">
227
    <span class="uk-margin-small-right">
228
      <img [src]="from.icon">
229
    </span>
230
      <span class="uk-width-expand">
231
      <span class="uk-margin-right uk-display-inline-block">
232
        <span class="uk-text-muted">Download from: </span>
233
        <span *ngIf="from.downloadUrl.length > 1" class="title">
234
            <span>{{from.downloadName}}</span>
235
            <a *ngFor="let url of from.downloadUrl; let i=index;"
236
               [href]="url" target="_blank">
237
               [{{(i + 1) | number}}]
238
            </a>
239
          </span>
240
        <a *ngIf="from.downloadUrl && from.downloadUrl.length === 1"
241
           [href]="from.downloadUrl[0]" target="_blank" class="title">
242
          {{from.downloadName}}
243
          <span class="custom-external space"></span>
244
        </a>
245
        <span *ngIf="!from.downloadUrl || from.downloadUrl.length === 0" class="title">
246
          {{from.downloadName}}
247
        </span>
248
      </span>
249
      <span class="provider uk-display-inline-block">
250
        <span class="uk-text-muted">Provider: </span>
251
        <!--      target="_blank"-->
252
        <a *ngIf="from.collectedId" [routerLink]="dataProviderUrl" [queryParams]="{datasourceId: from.collectedId}"
253
           [href]="from.downloadUrl[0]" (click)="onClick();">
254
          {{from.collectedName}}
255
          <!--        <span class="custom-external space"></span>-->
256
        </a>
257
        <span *ngIf="!from.collectedId">
258
          {{from.collectedName}}
259
        </span>
260
      </span>
261
    </span>
262
    </div>
263
  </div>
264
  <!--&& loggedIn -->
265
  <div
266
      *ngIf="(result.pop_inf && result.DOI) || (properties.environment != 'production' && properties.adminToolsPortalType == 'explore' && ((showOrcid && result.identifiers && result.identifiers.size > 0) || (result.orcidUpdateDates?.length > 0 || result.orcidCreationDates?.length > 0)))"
267
      class="result-preview-bottom">
268
    <!-- Impact Factors-->
269
    <span class="uk-flex uk-flex-top">
270
    <ng-container *ngIf="result.pop_inf && result.DOI">
271
    <!--Popularity -->
272
    <a title="Popularity" class="popularity-{{result.pop_inf[0]}}  uk-margin-right uk-flex uk-flex-middle">
273
      <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
274
          class="a"
275
          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"
276
          transform="translate(-4 -0.67)"/></svg>
277
      <span class="uk-margin-small-left"
278
      >
279
        {{" " + result.pop_inf[2] +
280
      " popularity" }}</span>
281

    
282
    </a>
283
    <div
284
        class="default-dropdown uk-margin-remove-top uk-padding-medium"
285
        uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
286
        <span class=" uk-flex uk-flex-middle">
287
          <span class="popularity-{{result.pop_inf[0]}}">
288
             <svg xmlns="http://www.w3.org/2000/svg" width="20.234" height="26.974"
289
                  viewBox="0 0 20.234 26.974"><defs> </defs><path class="a"
290
                                                                  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"
291
                                                                  transform="translate(-4 -0.67)"/></svg>
292
            </span>
293
          <span class=" uk-margin-small-left uk-text-large">{{" " + result.pop_inf[2] +
294
          " popularity" }}</span>
295
          <span
296
              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>
297
        </span>
298
        <div class="uk-text-muted uk-margin">Popularity: Citation-based measure reflecting the current impact.</div>
299
        <div>
300
          <a title="Link to Bip!Finder" class="uk-float-right" target="_blank"
301
             href="https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
302
        </div>
303
</div>
304
      <!--Influence -->
305
<a title="Influence" class="influence-{{result.pop_inf[1]}} uk-margin-right uk-flex uk-flex-middle">
306
  <svg xmlns="http://www.w3.org/2000/svg" width="12.667" height="14" viewBox="0 0 12.667 14">
307
    <defs><!--<style>.a{fill:#e1920a;}</style>--></defs>
308
    <path class="a"
309
          d="M3.333,7v4.667h2V7Zm4,0v4.667h2V7ZM2,15H14.667V13H2Zm9.333-8v4.667h2V7Zm-3-6L2,4.333V5.667H14.667V4.333Z"
310
          transform="translate(-2 -1)"/>
311
  </svg>
312
  <span class="uk-margin-small-left"
313
  >{{" " + result.pop_inf[3] +
314
  " influence" }}</span>
315
</a>
316
<div
317
    class="default-dropdown uk-margin-remove-top uk-padding-medium"
318
    uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
319
        <span class=" uk-flex uk-flex-middle">
320
          <span class="influence-{{result.pop_inf[1]}}">
321
             <svg xmlns="http://www.w3.org/2000/svg" width="24.299" height="26.857" viewBox="0 0 24.299 26.857"><defs><style>.a {
322
               fill: #464646;
323
             }</style></defs><path class="a"
324
                                   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"
325
                                   transform="translate(-2 -1)"/></svg>
326
            </span>
327
          <span class=" uk-margin-small-left uk-text-large"
328
          >{{result.pop_inf[3] +
329
          " influence" }}</span>
330
          <span
331
              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>
332
        </span>
333

    
334
        <div class="uk-text-muted uk-margin">Influence: Citation-based measure reflecting the total impact.</div>
335
        <div>
336
          <a title="Link to Bip!Finder" class=" uk-float-right" target="_blank" href=
337
              "https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
338
        </div>
339
      </div>
340
    </ng-container>
341
      <!-- && loggedIn    -->
342
    <span
343
        *ngIf="properties.environment != 'production' && properties.adminToolsPortalType == 'explore' && showOrcid && result.identifiers && result.identifiers.size > 0"
344
        class="uk-width-1-3 uk-width-expand@s">
345
<!--          class="uk-flex uk-flex-middle  uk-flex-right uk-width-expand">-->
346
      <orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0" [resultId]="result.relcanId"
347
                  [type]="result.resultType" [pageType]="'search'"
348
                  [putCodes]="result.orcidPutCodes" [givenPutCode]="true" [identifiers]="result.identifiers">
349
      </orcid-work>
350
    </span>
351
    <span
352
        *ngIf="properties.environment != 'production' && properties.adminToolsPortalType == 'explore' && (result.orcidUpdateDates?.length > 0 || result.orcidCreationDates?.length > 0)"
353
        class="uk-width-expand uk-text-right">
354
      <span *ngIf="result.orcidCreationDates?.length > 0" class="uk-display-inline-block">
355
        <span class="uk-text-muted">Added in ORCID:</span>
356
        <span *ngFor="let date of result.orcidCreationDates; let i=index">
357
          {{date | date: 'dd MMM yyyy'}}
358
          <span *ngIf="i < (result.orcidCreationDates.length - 1)">& </span>
359
        </span>
360
      </span>
361
      <span *ngIf="result.orcidCreationDates?.length > 0 && result.orcidUpdateDates?.length > 0">
362
        {{' . '}}
363
      </span>
364
      <span *ngIf="result.orcidUpdateDates?.length > 0" class="uk-display-inline-block">
365
        <span class="uk-text-muted">Last update in ORCID:</span>
366
        <span *ngFor="let date of result.orcidUpdateDates; let i=index">
367
          {{date | date: 'dd MMM yyyy'}}
368
          <span *ngIf="i < (result.orcidUpdateDates.length - 1)">& </span>
369
        </span>
370
      </span>
371
    </span>
372
  </span>
373
  </div>
374
</div>
(1-1/4)