1 |
58860
|
k.triantaf
|
<ul [class]="'uk-list uk-margin ' + custom_class" uk-height-match="target: .portalSearchCard; row: false">
|
2 |
56808
|
k.triantaf
|
<errorMessages [status]="[status]" [type]="'results'"></errorMessages>
|
3 |
58547
|
k.triantaf
|
<li *ngFor="let result of results" class="uk-animation-fade uk-margin-auto">
|
4 |
58860
|
k.triantaf
|
<div class="portalSearchCard uk-position-relative">
|
5 |
58547
|
k.triantaf
|
<div class="badges">
|
6 |
|
|
<div *ngIf="result.isSubscribed"
|
7 |
|
|
class="portal-card-badge uk-text-center">
|
8 |
|
|
<span>Subscribed</span>
|
9 |
|
|
</div>
|
10 |
58860
|
k.triantaf
|
<div *ngIf="type === 'community' && result.status == 'manager'"
|
11 |
58547
|
k.triantaf
|
class="private-card-badge uk-text-center ">
|
12 |
|
|
<span>Private</span>
|
13 |
|
|
</div>
|
14 |
58860
|
k.triantaf
|
<div *ngIf="type === 'stakeholder' && !result.isPublic"
|
15 |
|
|
class="private-card-badge uk-text-center ">
|
16 |
|
|
<span>Private</span>
|
17 |
|
|
</div>
|
18 |
56808
|
k.triantaf
|
</div>
|
19 |
58860
|
k.triantaf
|
<div class="uk-grid uk-flex uk-flex-middle" uk-grid>
|
20 |
|
|
<a *ngIf="directLink" [href]="(type === 'community')?getCommunityPageUrl(result):getStakeholderPageUrl(result)"
|
21 |
|
|
target="_blank"
|
22 |
58868
|
k.triantaf
|
class="uk-width-1-5@s">
|
23 |
58860
|
k.triantaf
|
<div>
|
24 |
|
|
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
25 |
|
|
alt="{{(result.title)?result.title:result.shortTitle}} logo">
|
26 |
|
|
<span *ngIf="result.logoUrl == null || result.logoUrl == ''" class="uk-icon">
|
27 |
|
|
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none"
|
28 |
|
|
stroke="#000"
|
29 |
|
|
stroke-width="1.1"
|
30 |
|
|
cx="7.7" cy="8.6"
|
31 |
|
|
r="3.5"></circle> <path
|
32 |
|
|
fill="none" stroke="#000" stroke-width="1.1"
|
33 |
|
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path> <path fill="none"
|
34 |
|
|
stroke="#000"
|
35 |
|
|
stroke-width="1.1"
|
36 |
|
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg>
|
37 |
|
|
</span>
|
38 |
|
|
</div>
|
39 |
|
|
</a>
|
40 |
|
|
<a *ngIf="!directLink"
|
41 |
58868
|
k.triantaf
|
class="uk-width-1-5@s"
|
42 |
58860
|
k.triantaf
|
(click)="confirmModalOpen(result)">
|
43 |
|
|
<div>
|
44 |
|
|
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
45 |
|
|
alt="{{(result.title)?result.title:result.shortTitle}} logo">
|
46 |
|
|
<span *ngIf="(result.logoUrl == null || result.logoUrl == '' )" class="uk-icon">
|
47 |
56808
|
k.triantaf
|
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none"
|
48 |
|
|
stroke="#000"
|
49 |
|
|
stroke-width="1.1"
|
50 |
|
|
cx="7.7" cy="8.6"
|
51 |
|
|
r="3.5"></circle> <path
|
52 |
58547
|
k.triantaf
|
fill="none" stroke="#000" stroke-width="1.1"
|
53 |
|
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path> <path fill="none"
|
54 |
|
|
stroke="#000"
|
55 |
|
|
stroke-width="1.1"
|
56 |
|
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg>
|
57 |
58860
|
k.triantaf
|
</span>
|
58 |
|
|
</div>
|
59 |
|
|
</a>
|
60 |
|
|
<div class="uk-width-expand">
|
61 |
58868
|
k.triantaf
|
<div *ngIf="type === 'community'" [title]="result.shortTitle" class="uk-text-large uk-grid" uk-grid>
|
62 |
58860
|
k.triantaf
|
<a *ngIf="directLink" [href]="getCommunityPageUrl(result)" target="_blank"
|
63 |
58868
|
k.triantaf
|
[class]="(result.isManager)?'uk-width-3-4@s portal-link':'portal-link'">
|
64 |
58860
|
k.triantaf
|
{{(result.title) ? result.title : result.shortTitle}}
|
65 |
|
|
</a>
|
66 |
58868
|
k.triantaf
|
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4@s':''"
|
67 |
58860
|
k.triantaf
|
class="portal-link">
|
68 |
|
|
{{(result.title) ? result.title : result.shortTitle}}
|
69 |
|
|
</a>
|
70 |
|
|
<manage *ngIf="result.isManager" [communityId]="result.communityId"
|
71 |
|
|
class="uk-width-expand uk-margin-auto-right"></manage>
|
72 |
|
|
</div>
|
73 |
58868
|
k.triantaf
|
<div *ngIf="type === 'stakeholder'" [title]="result.index_shortName" class="uk-text-large uk-grid">
|
74 |
58860
|
k.triantaf
|
<a *ngIf="directLink" [href]="getStakeholderPageUrl(result)" target="_blank"
|
75 |
58868
|
k.triantaf
|
[class]="(result.isManager)?'uk-width-3-4@s portal-link':'portal-link'">
|
76 |
58860
|
k.triantaf
|
{{(result.name) ? result.name : result.index_shortName}}
|
77 |
|
|
</a>
|
78 |
58868
|
k.triantaf
|
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4@s':''"
|
79 |
58860
|
k.triantaf
|
class="portal-link">
|
80 |
58868
|
k.triantaf
|
{{(result.name) ? result.name : result.index_shortName}}
|
81 |
58860
|
k.triantaf
|
</a>
|
82 |
|
|
<manage *ngIf="result.isManager" [alias]="result.alias" [properties]="properties"
|
83 |
|
|
class="uk-width-expand uk-margin-auto-right"></manage>
|
84 |
|
|
</div>
|
85 |
|
|
<div class="uk-margin-small-top uk-text-small">
|
86 |
|
|
<span class="uk-text-muted" *ngIf="result.date || result.creationDate">Creation Date:</span>
|
87 |
|
|
<span class="space" *ngIf="result.date">{{result.date | date:'dd-MM-yyyy'}}</span>
|
88 |
|
|
<span class="space" *ngIf="result.creationDate">{{result.creationDate | date:'dd-MM-yyyy'}}</span>
|
89 |
|
|
<span *ngIf="type === 'community' && showType && result.type && result.type != ''" class="uk-margin-left">
|
90 |
58547
|
k.triantaf
|
<span class="uk-text-muted">Type:</span>
|
91 |
58860
|
k.triantaf
|
<span
|
92 |
|
|
class="space uk-text-capitalize">{{(result.type == 'ri') ? 'Research Initiative' : 'Research Community'}}</span>
|
93 |
58547
|
k.triantaf
|
</span>
|
94 |
58860
|
k.triantaf
|
<span *ngIf="type === 'stakeholder' && result.type && result.type != ''" class="uk-margin-left">
|
95 |
|
|
<span class="uk-text-muted">Type:</span>
|
96 |
|
|
<span
|
97 |
|
|
class="space uk-text-capitalize">{{(result.type == 'ri') ? 'research initiative' : result.type}}</span>
|
98 |
58547
|
k.triantaf
|
</span>
|
99 |
|
|
</div>
|
100 |
58860
|
k.triantaf
|
<div *ngIf="result.description">
|
101 |
|
|
<div class="text-justify descriptionText uk-text-small uk-text-muted uk-margin-auto-right"
|
102 |
|
|
[title]="result.description">
|
103 |
|
|
{{_formatDescription(result.description)}}
|
104 |
|
|
</div>
|
105 |
|
|
</div>
|
106 |
57791
|
argiro.kok
|
</div>
|
107 |
56808
|
k.triantaf
|
</div>
|
108 |
|
|
</div>
|
109 |
|
|
</li>
|
110 |
55209
|
k.triantaf
|
</ul>
|
111 |
58860
|
k.triantaf
|
<modal-alert #AlertModal (alertOutput)="goToPage($event)">
|
112 |
56808
|
k.triantaf
|
<div class="uk-text-left">
|
113 |
|
|
You will be navigated to a new tab. Are you sure that you want to proceed?
|
114 |
|
|
</div>
|
115 |
55209
|
k.triantaf
|
</modal-alert>
|