BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-1
_actions.html.haml
app/views/projects/notes/_actions.html.haml
+1
-1
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