Change alignment for subject and don't print it if subject==''

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51241 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-14 15:19:36 +00:00
parent 368969bc22
commit d5a0663bba
1 changed files with 6 additions and 4 deletions

View File

@ -17,9 +17,11 @@
<p> {{community.description}}</p>
</div>
</blockquote>
<div *ngIf="community.subjects != null">
<p *ngFor='let subject of community.subjects; let i = index'> <span class="uk-label"> {{subject}}</span>&nbsp;</p>
</div>
<p *ngIf="community.subjects != null">
<span *ngFor='let subject of community.subjects; let i = index'>
<span *ngIf="subject != ''" class="uk-label"> {{subject}}</span>&nbsp;
</span>
</p>
<p>
<span *ngIf="community.managers != null"> Curated by:
<span *ngFor='let manager of community.managers; let i = index'> {{manager}} </span>