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
2a464c8c
Commit
2a464c8c
authored
Dec 07, 2018
by
Paul Kaplan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove share button on censored project banner.
Functionality needs reconsidering.
parent
a2e46ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
src/views/preview/presentation.jsx
src/views/preview/presentation.jsx
+4
-13
No files found.
src/views/preview/presentation.jsx
View file @
2a464c8c
...
...
@@ -132,19 +132,10 @@ const PreviewPresentation = ({
message=
{
<
FormattedMessage
id=
"project.deletedBanner"
/>
}
/>);
}
else
if
(
visibilityInfo
.
censored
)
{
if
(
visibilityInfo
.
reshareable
)
{
banner
=
(<
Banner
actionMessage=
{
<
FormattedMessage
id=
"project.share.shareButton"
/>
}
className=
"banner-danger"
message=
{
embedCensorMessage
(
visibilityInfo
.
message
)
}
onAction=
{
onShare
}
/>);
}
else
{
banner
=
(<
Banner
className=
"banner-danger"
message=
{
embedCensorMessage
(
visibilityInfo
.
message
)
}
/>);
}
banner
=
(<
Banner
className=
"banner-danger"
message=
{
embedCensorMessage
(
visibilityInfo
.
message
)
}
/>);
}
else
if
(
justRemixed
)
{
banner
=
(
<
Banner
...
...
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