Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a492f341
Commit
a492f341
authored
May 22, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
0985ff33
98cdeed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/snippets/_actions.html.haml
app/views/snippets/_actions.html.haml
+1
-1
changelogs/unreleased/61324-non-project-snippet-new-snippet-button-should-be-green-outline.yml
...ct-snippet-new-snippet-button-should-be-green-outline.yml
+5
-0
No files found.
app/views/snippets/_actions.html.haml
View file @
a492f341
...
...
@@ -7,7 +7,7 @@
-
if
can?
(
current_user
,
:admin_personal_snippet
,
@snippet
)
=
link_to
snippet_path
(
@snippet
),
method: :delete
,
data:
{
confirm:
_
(
"Are you sure?"
)
},
class:
"btn btn-grouped btn-inverted btn-remove"
,
title:
_
(
'Delete Snippet'
)
do
=
_
(
"Delete"
)
=
link_to
new_snippet_path
,
class:
"btn btn-grouped btn-
inverted btn-create
"
,
title:
_
(
"New snippet"
)
do
=
link_to
new_snippet_path
,
class:
"btn btn-grouped btn-
success btn-inverted
"
,
title:
_
(
"New snippet"
)
do
=
_
(
"New snippet"
)
-
if
@snippet
.
submittable_as_spam_by?
(
current_user
)
=
link_to
_
(
'Submit as spam'
),
mark_as_spam_snippet_path
(
@snippet
),
method: :post
,
class:
'btn btn-grouped btn-spam'
,
title:
_
(
'Submit as spam'
)
...
...
changelogs/unreleased/61324-non-project-snippet-new-snippet-button-should-be-green-outline.yml
0 → 100644
View file @
a492f341
---
title
:
Give New Snippet button green outline
merge_request
:
28559
author
:
Marcel van Remmerden
type
:
other
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