Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
e9586eb5
Unverified
Commit
e9586eb5
authored
Mar 03, 2020
by
Paul Kaplan
Committed by
GitHub
Mar 03, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3726 from LLK/hotfix/reduce-report-vis
[Master] hotfix reduce report prominence
parents
5a47ed96
e43cb7ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
22 deletions
+20
-22
src/views/preview/subactions.jsx
src/views/preview/subactions.jsx
+20
-20
src/views/preview/subactions.scss
src/views/preview/subactions.scss
+0
-2
No files found.
src/views/preview/subactions.jsx
View file @
e9586eb5
...
...
@@ -29,6 +29,26 @@ const Subactions = props => (
{
/* eslint-enable react/jsx-sort-props */
}
</
div
>
<
FlexRow
className=
"action-buttons"
>
{
(
props
.
canReport
)
&&
<
React
.
Fragment
>
<
Button
className=
"action-button report-button"
key=
"report-button"
onClick=
{
props
.
onReportClicked
}
>
<
FormattedMessage
id=
"general.report"
/>
</
Button
>
{
props
.
reportOpen
&&
(
<
ReportModal
isOpen
key=
"report-modal"
type=
"project"
onReport=
{
props
.
onReportSubmit
}
onRequestClose=
{
props
.
onReportClose
}
/>
)
}
</
React
.
Fragment
>
}
{
props
.
canAddToStudio
&&
<
React
.
Fragment
>
<
Button
...
...
@@ -69,26 +89,6 @@ const Subactions = props => (
)
}
</
React
.
Fragment
>
)
}
{
(
props
.
canReport
)
&&
<
React
.
Fragment
>
<
Button
className=
"action-button report-button"
key=
"report-button"
onClick=
{
props
.
onReportClicked
}
>
<
FormattedMessage
id=
"general.report"
/>
</
Button
>
{
props
.
reportOpen
&&
(
<
ReportModal
isOpen
key=
"report-modal"
type=
"project"
onReport=
{
props
.
onReportSubmit
}
onRequestClose=
{
props
.
onReportClose
}
/>
)
}
</
React
.
Fragment
>
}
</
FlexRow
>
</
FlexRow
>
);
...
...
src/views/preview/subactions.scss
View file @
e9586eb5
...
...
@@ -88,8 +88,6 @@
}
&
.report-button
{
background-color
:
$ui-coral
;
&
:before
{
background-image
:
url("/svgs/project/report-white.svg")
;
}
...
...
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