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
a7a344f0
Commit
a7a344f0
authored
Dec 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken UI for admin system hooks
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9b7b27ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
17 deletions
+10
-17
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+10
-17
No files found.
app/views/admin/hooks/index.html.haml
View file @
a7a344f0
%h3
.page-title
System
H
ooks
System
h
ooks
%p
.light
#{
link_to
"System hooks "
,
help_system_hooks_path
,
class:
"vlink"
}
can be
...
...
@@ -22,21 +22,14 @@
%hr
-
if
@hooks
.
any?
%h3
Hooks
%small
(
#{
@hooks
.
count
}
)
%br
%table
%tr
%th
URL
%th
Method
%th
-
@hooks
.
each
do
|
hook
|
%tr
%td
.ui-box
.title
System hooks (
#{
@hooks
.
count
}
)
%ul
.well-list
-
@hooks
.
each
do
|
hook
|
%li
.pull-right
=
link_to
'Test Hook'
,
admin_hook_test_path
(
hook
),
class:
"btn btn-small"
=
link_to
'Remove'
,
admin_hook_path
(
hook
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-remove btn-small"
=
link_to
admin_hook_path
(
hook
)
do
%strong
=
hook
.
url
=
link_to
'Test Hook'
,
admin_hook_test_path
(
hook
),
class:
"btn btn-small pull-right"
%td
POST
%td
=
link_to
'Remove'
,
admin_hook_path
(
hook
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-remove btn-small pull-right"
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