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
f0085d03
Commit
f0085d03
authored
Dec 29, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reuse show page for user keys.
parent
492f3a47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
19 deletions
+24
-19
key.html.haml
app/views/admin/users/key.html.haml
+4
-0
_key_details.html.haml
app/views/profiles/keys/_key_details.html.haml
+19
-0
show.html.haml
app/views/profiles/keys/show.html.haml
+1
-19
No files found.
app/views/admin/users/key.html.haml
0 → 100644
View file @
f0085d03
=
render
"profiles/keys/key_details"
.pull-right
=
link_to
'Remove'
,
remove_user_key_admin_user_path
(
@user
,
@key
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-remove delete-key"
app/views/profiles/keys/_key_details.html.haml
0 → 100644
View file @
f0085d03
.row
.col-md-4
.panel.panel-default
.panel-heading
SSH Key
%ul
.well-list
%li
%span
.light
Title:
%strong
=
@key
.
title
%li
%span
.light
Created on:
%strong
=
@key
.
created_at
.
stamp
(
"Aug 21, 2011"
)
.col-md-8
%p
%span
.light
Fingerprint:
%strong
=
@key
.
fingerprint
%pre
.well-pre
=
@key
.
key
app/views/profiles/keys/show.html.haml
View file @
f0085d03
.row
.col-md-4
.panel.panel-default
.panel-heading
SSH Key
%ul
.well-list
%li
%span
.light
Title:
%strong
=
@key
.
title
%li
%span
.light
Created on:
%strong
=
@key
.
created_at
.
stamp
(
"Aug 21, 2011"
)
.col-md-8
%p
%span
.light
Fingerprint:
%strong
=
@key
.
fingerprint
%pre
.well-pre
=
@key
.
key
=
render
"key_details"
.pull-right
=
link_to
'Remove'
,
profile_key_path
(
@key
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-remove delete-key"
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