Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (3)
(fix): show comments in appeal console
· b6f6ddb2
Marcelo Rivera
authored
Jul 16, 2019
b6f6ddb2
(fix): re-added border to comments in juryduty
· 56f33c3f
Marcelo Rivera
authored
Jul 16, 2019
56f33c3f
(fix): distinguish between posts and comments in reports console
· 8a5bdcd8
Marcelo Rivera
authored
Jul 16, 2019
8a5bdcd8
Hide whitespace changes
Inline
Side-by-side
src/app/modules/report/console/appeal.component.html
View file @
8a5bdcd8
...
...
@@ -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.entity
Obj
&& appeal.entity
Obj
.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.entity
Obj
"
[object]=
"appeal.
report.
entity"
class=
"mdl-card"
>
</minds-card-comment>
...
...
src/app/modules/report/juryduty/session/content.component.scss
View file @
8a5bdcd8
...
...
@@ -31,7 +31,6 @@
max-width
:
600px
;
m-comment
{
border
:
none
!
important
;
max-width
:
initial
!
important
;
}
...
...