...
 
Commits (3)
......@@ -3,7 +3,12 @@
<b>{{ appeal.time_created * 1000 | date: 'short' }}</b>
<p>
<strong>Action taken:</strong>
<span> This post has been</span>
<span>
This
<ng-container *ngIf="appeal.report.entity.type !== 'comment'"> post </ng-container>
<ng-container *ngIf="appeal.report.entity.type == 'comment'"> comment </ng-container>
has been
</span>
<b> {{ service.getAction(appeal.report) }} </b>
<span>for</span>
<b> {{ service.getReasonString(appeal.report) }} </b>
......@@ -39,17 +44,18 @@
hostClass="mdl-card"
></minds-card>
<div *ngIf="appeal.entityObj && appeal.entityObj.type == 'comment'" class="m-comment-wrapper">
<div *ngIf="appeal.report.entity && appeal.report.entity.type == 'comment'" class="m-comment-wrapper">
<div class="m-moderationAppeal__commentNote">
<a target="_blank"
[routerLink]="['/newsfeed', appeal.entityObj.parent_guid]"
[routerLink]="['/newsfeed', appeal.report.entity.entity_guid]"
[queryParams]="{ focusedCommentUrn: appeal.report.entity_urn }"
i18n="@@M__COMMON__VIEW_PARENT_COMMENT_THREAD"
>
View parent and its comment thread
</a>
</div>
<minds-card-comment
[object]="appeal.entityObj"
[object]="appeal.report.entity"
class="mdl-card"
>
</minds-card-comment>
......
......@@ -31,7 +31,6 @@
max-width: 600px;
m-comment {
border: none !important;
max-width: initial !important;
}
......