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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
7fef8456
Commit
7fef8456
authored
Feb 26, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'small-fixes' into 'master'
Small fixes Fixes #2062 and #2061 See merge request !1601
parents
e27f5aef
c254cb03
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
app/assets/javascripts/issue.js.coffee
app/assets/javascripts/issue.js.coffee
+6
-5
app/assets/javascripts/merge_request.js.coffee
app/assets/javascripts/merge_request.js.coffee
+6
-5
app/views/projects/deploy_keys/_deploy_key.html.haml
app/views/projects/deploy_keys/_deploy_key.html.haml
+1
-1
No files found.
app/assets/javascripts/issue.js.coffee
View file @
7fef8456
...
...
@@ -16,6 +16,7 @@ class @Issue
updateTaskState
)
$
(
'.issue-details'
).
waitForImages
->
$
(
'.issuable-affix'
).
affix
offset
:
top
:
->
@
top
=
$
(
'.issue-details'
).
outerHeight
(
true
)
+
25
...
...
app/assets/javascripts/merge_request.js.coffee
View file @
7fef8456
...
...
@@ -20,9 +20,10 @@ class @MergeRequest
if
$
(
"a.btn-close"
).
length
$
(
"li.task-list-item input:checkbox"
).
prop
(
"disabled"
,
false
)
$
(
'.merge-request-details'
).
waitForImages
->
$
(
'.issuable-affix'
).
affix
offset
:
top
:
->
@
top
=
$
(
'.merge-request-details'
).
outerHeight
(
true
)
+
70
@
top
=
$
(
'.merge-request-details'
).
outerHeight
(
true
)
+
91
bottom
:
->
@
bottom
=
$
(
'.footer'
).
outerHeight
(
true
)
...
...
app/views/projects/deploy_keys/_deploy_key.html.haml
View file @
7fef8456
...
...
@@ -13,7 +13,7 @@
=
link_to
'Remove'
,
namespace_project_deploy_key_path
(
@project
.
namespace
,
@project
,
deploy_key
),
data:
{
confirm:
'You are going to remove deploy key. Are you sure?'
},
method: :delete
,
class:
"btn btn-remove delete-key btn-small pull-right"
=
key_project
=
deploy_key
.
projects
.
include?
(
@project
)
?
@project
:
deploy_key
.
projects
.
first
-
key_project
=
deploy_key
.
projects
.
include?
(
@project
)
?
@project
:
deploy_key
.
projects
.
first
=
link_to
namespace_project_deploy_key_path
(
key_project
.
namespace
,
key_project
,
deploy_key
)
do
%i
.fa.fa-key
%strong
=
deploy_key
.
title
...
...
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