Merge pull request #5094 from GabrielInTheWorld/agendaSecondLine

Sets the subtitle as a second line in agenda
This commit is contained in:
Sean 2019-10-30 11:38:50 +01:00 committed by GitHub
commit 424c59d027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,14 +35,14 @@
[routerLink]="getDetailUrl(item)"
*ngIf="!isMultiSelect"
></a>
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }" class="innerTable ellipsis-overflow">
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }" class="innerTable">
<os-icon-container [noWrap]="true" [icon]="item.closed ? 'check' : null" size="large">
<span>
<div class="ellipsis-overflow">
{{ item.getListTitle() }}
</span>
<span *ngIf="showSubtitle" class="subtitle ">
</div>
<div *ngIf="showSubtitle" class="subtitle ellipsis-overflow">
{{ item.getSubtitle() }}
</span>
</div>
</os-icon-container>
</div>
</div>