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
Kazuhiko Shiozaki
gitlab-ce
Commits
ba4bf27f
Commit
ba4bf27f
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use table-holder where appropriate
parent
9ea72430
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
49 deletions
+51
-49
app/views/profiles/applications.html.haml
app/views/profiles/applications.html.haml
+43
-41
app/views/profiles/keys/_key_table.html.haml
app/views/profiles/keys/_key_table.html.haml
+8
-8
No files found.
app/views/profiles/applications.html.haml
View file @
ba4bf27f
...
...
@@ -15,6 +15,7 @@
.pull-right
=
link_to
'New Application'
,
new_oauth_application_path
,
class:
'btn btn-success'
-
if
@applications
.
any?
.table-holder
%table
.table.table-striped
%thead
%tr
...
...
@@ -40,6 +41,7 @@
Authorized applications
-
if
@authorized_tokens
.
any?
.table-holder
%table
.table.table-striped
%thead
%tr
...
...
app/views/profiles/keys/_key_table.html.haml
View file @
ba4bf27f
-
is_admin
=
defined?
(
admin
)
?
true
:
false
.panel.panel-default
-
if
@keys
.
any?
-
if
@keys
.
any?
.table-holder
%table
.table
%thead
.panel-heading
%tr
...
...
@@ -11,7 +11,7 @@
%tbody
-
@keys
.
each
do
|
key
|
=
render
'profiles/keys/key'
,
key:
key
,
is_admin:
is_admin
-
else
-
else
.nothing-here-block
-
if
is_admin
User has no ssh keys
...
...
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