Add limit 10 in results.authors

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51039 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-05 14:09:42 +00:00
parent f65fcb4216
commit 1e6e5d5b64
1 changed files with 7 additions and 2 deletions

View File

@ -25,8 +25,13 @@ import { CommunityInfo } from '../../utils/communityInfo';
</div> </div>
</h6> </h6>
<div class="el-content"><span class=" uk-label label-{{item.accessRights}}">{{item.accessRights}}</span><br></div> <div class="el-content"><span class=" uk-label label-{{item.accessRights}}">{{item.accessRights}}</span><br></div>
<span *ngFor='let author of item.authors; let i = index'> <span *ngIf="item.authors != null" >
<span class="el-meta uk-margin uk-text-meta">{{author}}</span> <span *ngFor='let author of item.authors; let i = index'>
<span *ngIf="i < 10">
<span class="el-meta uk-margin uk-text-meta">{{author}}</span>
</span>
<span *ngIf="i == 10">...</span>
</span>
</span> </span>
<div class="el-meta uk-text-meta"> {{item.year}} </div> <div class="el-meta uk-text-meta"> {{item.year}} </div>
<div class="text-justify descriptionText"> {{item.description}} </div> <div class="text-justify descriptionText"> {{item.description}} </div>