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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
fbb27a42
Commit
fbb27a42
authored
Jan 18, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing issues, fix naming inconsistencies. Fix conflicts.
Used `issuable` instead
parent
8b3d6793
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+2
-2
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
fbb27a42
...
...
@@ -560,6 +560,6 @@ pre.light-well {
}
.cannot-be-merged
,
.cannot-be-merged
:hover
{
color
:
$error-exclamation-point
;
color
:
#E62958
;
margin-top
:
2px
;
}
app/views/shared/issuable/_sidebar.html.haml
View file @
fbb27a42
...
...
@@ -10,8 +10,8 @@
.value
-
if
issuable
.
assignee
%strong
=
link_to_member
(
@project
,
issuable
.
assignee
,
size:
24
)
-
if
issuable
.
instance_of?
(
MergeRequest
)
&&
!
@merge_request
.
can_be_merged_by?
(
issuable
.
assignee
)
%a
.pull-right.cannot-be-merged
{
href
:
'#'
,
data
:{
toggle
:'tooltip'
},
title
:
'Not allowed to merge'
}
-
if
issuable
.
instance_of?
(
MergeRequest
)
&&
!
issuable
.
can_be_merged_by?
(
issuable
.
assignee
)
%a
.pull-right.cannot-be-merged
{
href:
'#'
,
data:
{
toggle:
'tooltip'
},
title:
'Not allowed to merge'
}
=
icon
(
'exclamation-triangle'
)
-
else
.light
None
...
...
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