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,11 +17,13 @@
<p> {{community.description}}</p> <p> {{community.description}}</p>
</div> </div>
</blockquote> </blockquote>
<div *ngIf="community.subjects != null"> <p *ngIf="community.subjects != null">
<p *ngFor='let subject of community.subjects; let i = index'> <span class="uk-label"> {{subject}}</span>&nbsp;</p> <span *ngFor='let subject of community.subjects; let i = index'>
</div> <span *ngIf="subject != ''" class="uk-label"> {{subject}}</span>&nbsp;
</span>
</p>
<p> <p>
<span *ngIf="community.managers != null">Curated by: <span *ngIf="community.managers != null"> Curated by:
<span *ngFor='let manager of community.managers; let i = index'> {{manager}} </span> <span *ngFor='let manager of community.managers; let i = index'> {{manager}} </span>
</span> </span>
<span *ngIf="community.date != null" class="uk-margin-left"> Created: {{community.date | date:'dd-MM-yyyy'}}</span> <span *ngIf="community.date != null" class="uk-margin-left"> Created: {{community.date | date:'dd-MM-yyyy'}}</span>