restructure entries pages, last comments

This commit is contained in:
2021-10-06 09:49:16 +02:00
parent 4c69a9b177
commit ac7e46c627
22 changed files with 205 additions and 271 deletions
+4 -4
View File
@@ -27,9 +27,8 @@
</small>
</div>
<div mat-line class="text"
[style.opacity]="comment.metadata && comment.metadata.points && comment.metadata.points < 0 ? 1 + (comment.metadata.points / 10) : '1.0'">
{{comment.text}}</div>
[style.opacity]="comment.metadata && comment.metadata.points && comment.metadata.points < 0 ? 1 + (comment.metadata.points / 10) : '1.0'"
[innerHTML]="comment.text | urltext"></div>
<div mat-line>
<small>
<a href="javascript:" (click)="comment.metadata.reply=!comment.metadata.reply">{{(comment.metadata.reply ?
@@ -45,4 +44,5 @@
</div>
</div>
<ui-comments *ngIf="subcomments && comment.metadata && (comment.metadata.comments > 0 || comment.metadata.reply)" #subcomments [target]="comment.target" [parent]="comment.id" [subcomments]="subcomments"></ui-comments>
<ui-comments *ngIf="subcomments && comment.metadata && (comment.metadata.comments > 0 || comment.metadata.reply)"
#subcomments [target]="comment.target" [parent]="comment.id" [subcomments]="subcomments"></ui-comments>