[Trunk | Library]:

1. project.component.html: [Bug fix] In <landing-header> if name but not acronym exists, do not show [no title available].
2. searchFilter.component.html: [Bug fix] In sorting filters, select and mat-select needs class "uk-width-expand".


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58277 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2020-03-16 14:42:11 +00:00
parent a6f0ce1027
commit fce59b45d8
2 changed files with 4 additions and 4 deletions

View File

@ -679,8 +679,8 @@
<!-- Statistics -->
<modal-alert *ngIf="projectInfo"
classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>
<landing-header [properties]="properties" [title]="projectInfo.acronym"
[subTitle]="projectInfo.title"
<landing-header [properties]="properties" [title]="projectName"
[subTitle]="projectInfo.acronym ? projectInfo.title : ''"
[entityType]="'project'"
[startDate]="projectInfo.startDate"
[endDate]="projectInfo.endDate"

View File

@ -68,13 +68,13 @@
<span *ngIf = "showResultCount === true" class="uk-flex-inline uk-flex-middle uk-width-5-6@m uk-width-1-1@s uk-align-right uk-margin-small-bottom">
<span class="uk-width-1-4 uk-text-muted"> Sort by:</span>
<select [(ngModel)]="sortBy"
class="uk-width-3-4@m uk-width-auto uk-select uk-hidden@m"
class=" uk-width-expand uk-select uk-hidden@m"
id="form-horizontal-select" name="select_order">
<option value="num">Results number</option>
<option value="name">Name</option>
</select>
<mat-select [(ngModel)]="sortBy"
class="uk-width-3-4@m uk-width-auto matSelection uk-visible@m"
class="uk-width-expand matSelection uk-visible@m"
id="form-horizontal-select1" name="select_order"
[disableOptionCentering]="true" panelClass="matSelectionPanel">
<mat-option value="num">Results number</mat-option>