[Library | Trunk]: Portal search result: Some html changes to fit in small screens
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58868 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
5efde8bc99
commit
4b3467b621
|
@ -19,7 +19,7 @@
|
||||||
<div class="uk-grid uk-flex uk-flex-middle" uk-grid>
|
<div class="uk-grid uk-flex uk-flex-middle" uk-grid>
|
||||||
<a *ngIf="directLink" [href]="(type === 'community')?getCommunityPageUrl(result):getStakeholderPageUrl(result)"
|
<a *ngIf="directLink" [href]="(type === 'community')?getCommunityPageUrl(result):getStakeholderPageUrl(result)"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="uk-width-1-5">
|
class="uk-width-1-5@s">
|
||||||
<div>
|
<div>
|
||||||
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
||||||
alt="{{(result.title)?result.title:result.shortTitle}} logo">
|
alt="{{(result.title)?result.title:result.shortTitle}} logo">
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="!directLink"
|
<a *ngIf="!directLink"
|
||||||
class="uk-width-1-5"
|
class="uk-width-1-5@s"
|
||||||
(click)="confirmModalOpen(result)">
|
(click)="confirmModalOpen(result)">
|
||||||
<div>
|
<div>
|
||||||
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
<img *ngIf="result.logoUrl != null && result.logoUrl != '' " src="{{result.logoUrl}}"
|
||||||
|
@ -58,26 +58,26 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="uk-width-expand">
|
<div class="uk-width-expand">
|
||||||
<div *ngIf="type === 'community'" [title]=result.shortTitle class="uk-text-large uk-grid">
|
<div *ngIf="type === 'community'" [title]="result.shortTitle" class="uk-text-large uk-grid" uk-grid>
|
||||||
<a *ngIf="directLink" [href]="getCommunityPageUrl(result)" target="_blank"
|
<a *ngIf="directLink" [href]="getCommunityPageUrl(result)" target="_blank"
|
||||||
[class]="(result.isManager)?'uk-width-3-4 portal-link':'portal-link'">
|
[class]="(result.isManager)?'uk-width-3-4@s portal-link':'portal-link'">
|
||||||
{{(result.title) ? result.title : result.shortTitle}}
|
{{(result.title) ? result.title : result.shortTitle}}
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4':''"
|
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4@s':''"
|
||||||
class="portal-link">
|
class="portal-link">
|
||||||
{{(result.title) ? result.title : result.shortTitle}}
|
{{(result.title) ? result.title : result.shortTitle}}
|
||||||
</a>
|
</a>
|
||||||
<manage *ngIf="result.isManager" [communityId]="result.communityId"
|
<manage *ngIf="result.isManager" [communityId]="result.communityId"
|
||||||
class="uk-width-expand uk-margin-auto-right"></manage>
|
class="uk-width-expand uk-margin-auto-right"></manage>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="type === 'stakeholder'" [title]=result.index_shortName class="uk-text-large uk-grid">
|
<div *ngIf="type === 'stakeholder'" [title]="result.index_shortName" class="uk-text-large uk-grid">
|
||||||
<a *ngIf="directLink" [href]="getStakeholderPageUrl(result)" target="_blank"
|
<a *ngIf="directLink" [href]="getStakeholderPageUrl(result)" target="_blank"
|
||||||
[class]="(result.isManager)?'uk-width-3-4 portal-link':'portal-link'">
|
[class]="(result.isManager)?'uk-width-3-4@s portal-link':'portal-link'">
|
||||||
{{(result.name) ? result.name : result.index_shortName}}
|
{{(result.name) ? result.name : result.index_shortName}}
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4':''"
|
<a *ngIf="!directLink" (click)="confirmModalOpen(result)" [class]="(result.isManager)?'uk-width-3-4@s':''"
|
||||||
class="portal-link">
|
class="portal-link">
|
||||||
{{(result.title) ? result.title : result.shortTitle}}
|
{{(result.name) ? result.name : result.index_shortName}}
|
||||||
</a>
|
</a>
|
||||||
<manage *ngIf="result.isManager" [alias]="result.alias" [properties]="properties"
|
<manage *ngIf="result.isManager" [alias]="result.alias" [properties]="properties"
|
||||||
class="uk-width-expand uk-margin-auto-right"></manage>
|
class="uk-width-expand uk-margin-auto-right"></manage>
|
||||||
|
|
Loading…
Reference in New Issue