display long posts in timeline, issue #51

This commit is contained in:
Morgan McMillian 2018-01-17 20:40:43 -08:00
parent 399e5e68f8
commit 576f8ed493

View file

@ -41,6 +41,14 @@
<div *ngIf="post.is_deleted; else renderBlock"></div> <div *ngIf="post.is_deleted; else renderBlock"></div>
<ng-template #renderBlock > <ng-template #renderBlock >
<div [innerHTML]="post.content.html | parser"></div> <div [innerHTML]="post.content.html | parser"></div>
<div *ngIf="post.raw">
<div *ngFor="let r of post.raw">
<div *ngIf="r.type == 'nl.chimpnut.blog.post'">
<hr>
<div>{{ r.value.body }}</div>
</div>
</div>
</div>
</ng-template> </ng-template>
</ion-card-content> </ion-card-content>
<div *ngIf="post.raw"> <div *ngIf="post.raw">