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
4130552b
Commit
4130552b
authored
Aug 15, 2017
by
micael.bergeron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove lint
parent
643ed0f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-1
app/views/projects/notes/_actions.html.haml
app/views/projects/notes/_actions.html.haml
+1
-1
spec/models/concerns/issuable_spec.rb
spec/models/concerns/issuable_spec.rb
+2
-2
No files found.
app/assets/stylesheets/pages/notes.scss
View file @
4130552b
...
...
@@ -633,7 +633,7 @@ ul.notes {
}
&
.note-role-special
{
text-shadow
:
0
0
15px
white
;
text-shadow
:
0
0
15px
$gl-text-color-inverted
;
}
}
...
...
app/views/projects/notes/_actions.html.haml
View file @
4130552b
-
if
note
.
has_special_role?
(
Note
::
SpecialRole
::
FIRST_TIME_CONTRIBUTOR
)
%span
.note-role.note-role-special.has-tooltip
{
title:
_
(
"This user hasn't yet contributed code to this project. Handle with care."
)}
%span
.note-role.note-role-special.has-tooltip
{
title:
_
(
"This user hasn't yet contributed code to this project. Handle with care."
)
}
=
issuable_first_contribution_icon
-
if
access
=
note_max_access_for_user
(
note
)
%span
.note-role.note-role-access
=
Gitlab
::
Access
.
human_access
(
access
)
...
...
spec/models/concerns/issuable_spec.rb
View file @
4130552b
...
...
@@ -483,8 +483,8 @@ describe Issuable do
describe
'#first_contribution?'
do
let
(
:group
)
{
create
(
:group
)
}
let
(
:project
)
{
create
(
:
empty_
project
,
namespace:
group
)
}
let
(
:other_project
)
{
create
(
:
empty_
project
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
group
)
}
let
(
:other_project
)
{
create
(
:project
)
}
let
(
:owner
)
{
create
(
:owner
)
}
let
(
:master
)
{
create
(
:user
)
}
let
(
:reporter
)
{
create
(
:user
)
}
...
...
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