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
8f7f1a45
Commit
8f7f1a45
authored
Mar 09, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ce_upstream' of gitlab.com:gitlab-org/gitlab-ee into ce_upstream
parents
2b3dc28d
cbfe87b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
app/views/profiles/keys/_key.html.haml
app/views/profiles/keys/_key.html.haml
+4
-18
No files found.
app/views/profiles/keys/_key.html.haml
View file @
8f7f1a45
<
<<<<<<
HEAD
%tr
%td
=
link_to
path_to_key
(
key
,
is_admin
)
do
%strong
=
key
.
title
%td
%code
.key-fingerprint
=
key
.
fingerprint
%td
%span
.cgray
added
#{
time_ago_with_tooltip
(
key
.
created_at
)
}
%td
-
unless
key
.
is_a?
LDAPKey
=
link_to
'Remove'
,
path_to_key
(
key
,
is_admin
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-sm btn-remove delete-key pull-right"
==
=====
%li
.key-list-item
.pull-left.append-right-10
=
icon
'key'
,
class:
"key-icon hidden-xs"
...
...
@@ -23,7 +9,7 @@
.pull-right
%span
.key-created-at
created
#{
time_ago_with_tooltip
(
key
.
created_at
)
}
ago
=
link_to
path_to_key
(
key
,
is_admin
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-transparent prepend-left-10"
do
%span
.sr-only
Remove
=
icon
(
'trash'
)
>
>>>>>> 99f08b3f727e9d155ab10ad285fe48e0279fb79e
-
unless
key
.
is_a?
LDAPKey
=
link_to
path_to_key
(
key
,
is_admin
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-transparent prepend-left-10"
do
%span
.sr-only
Remove
=
icon
(
'trash'
)
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