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
e993b59b
Commit
e993b59b
authored
Feb 25, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont render project entity
parent
a9eba1bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/projects/deploy_keys/_deploy_key.html.haml
app/views/projects/deploy_keys/_deploy_key.html.haml
+1
-1
No files found.
app/views/projects/deploy_keys/_deploy_key.html.haml
View file @
e993b59b
...
...
@@ -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