Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
832
Issues
832
List
Boards
Labels
Service Desk
Milestones
Merge Requests
52
Merge Requests
52
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
504e24a5
Commit
504e24a5
authored
2 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): summons popup fixes and minor language changes
parent
41f27df2
epic/ReportingAndModeration
No related merge requests found
Pipeline
#61888922
failed with stage
in 7 minutes and 53 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
9 deletions
+49
-9
content.component.html
...pp/modules/report/juryduty/session/content.component.html
+1
-0
content.component.scss
...pp/modules/report/juryduty/session/content.component.scss
+28
-4
summons.component.html
...pp/modules/report/juryduty/session/summons.component.html
+7
-5
summons.component.scss
...pp/modules/report/juryduty/session/summons.component.scss
+9
-0
summons.component.ts
src/app/modules/report/juryduty/session/summons.component.ts
+4
-0
No files found.
src/app/modules/report/juryduty/session/content.component.html
View file @
504e24a5
...
...
@@ -2,6 +2,7 @@
<ng-container
*
ngIf=
"!decided; else whenDecided"
>
<h3>
<b
*
ngIf=
"report.is_appeal"
>
Action taken:
</b>
<span>
Should be
</span>
<b>
{{ getAction(report) }}
</b>
<span>
for
</span>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/content.component.scss
View file @
504e24a5
...
...
@@ -5,8 +5,26 @@
h3
{
margin
:
0
;
font-weight
:
500
;
color
:
#444
;
font-size
:
16px
;
line-height
:
1
.5
;
text-rendering
:
unset
;
-webkit-font-smoothing
:
unset
;
font-size
:
16px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-800
);
}
>
*
{
line-height
:
1
;
}
>
b
:first-child
{
@include
m-theme
()
{
color
:
themed
(
$m-grey-600
);
}
display
:
block
;
line-height
:
1
.5
;
}
}
minds-card
{
...
...
@@ -20,11 +38,17 @@
padding-top
:
8px
;
>
b
{
color
:
#666
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-600
);
}
display
:
block
;
}
>
p
{
display
:
inline
;
padding-left
:
8px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-600
);
}
//padding-left: 8px;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/summons.component.html
View file @
504e24a5
...
...
@@ -4,12 +4,14 @@
*
ngIf=
"showModal"
>
<div
class=
"m-juryDutySession__summons"
>
<h2>
You've been selected for Jury Duty
</h2>
<ng-container
*
ngIf=
"!report"
>
<h2>
You've been selected for Jury Duty
</h2>
<p>
The Minds Jury decides on what content is within the terms of service.
We randomly select 12 members of the community to uphold or overturn decisions made.
</p>
<p>
The Minds Jury decides on what content is within our
<a
routerLink=
"/content-policy"
target=
"_blank"
>
Content Policy
</a>
.
We randomly select 12 members of the community to uphold or overturn decisions made.
</p>
</ng-container>
<div
class=
"m-juryDutySessionSummons__buttons"
*
ngIf=
"!accepted"
>
<button
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/summons.component.scss
View file @
504e24a5
m-jurydutysession__summons
.m-modal-container
{
overflow
:
scroll
;
height
:
95%
;
height
:
95vh
;
}
.m-juryDutySession__summons
{
padding
:
24px
16px
;
h2
{
...
...
@@ -23,6 +28,10 @@
font-weight
:
bold
;
}
}
.m-juryDutySession__content
{
margin-top
:
24px
;
}
}
.m-juryDutySessionSummons__countdown
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/summons.component.ts
View file @
504e24a5
...
...
@@ -36,6 +36,8 @@ export class JuryDutySessionSummonsComponent {
ngOnInit
()
{
this
.
socketsService
.
join
(
`moderation_summon`
);
this
.
socketsService
.
subscribe
(
`moderation_summon`
,
(
summons
)
=>
{
this
.
report
=
null
;
this
.
accepted
=
false
;
this
.
summons
=
JSON
.
parse
(
summons
);
this
.
startSummons
();
});
...
...
@@ -96,6 +98,8 @@ export class JuryDutySessionSummonsComponent {
}
onClose
(
e
)
{
this
.
accepted
=
false
;
this
.
report
=
null
;
this
.
showModal
=
false
;
this
.
detectChanges
();
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment