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
b1eb3d46
Commit
b1eb3d46
authored
Dec 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/system_hooks_ui' of /home/git/repositories/gitlab/gitlabhq
parents
2ca4e708
4ec8eecb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
18 deletions
+11
-18
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+10
-17
app/views/projects/hooks/index.html.haml
app/views/projects/hooks/index.html.haml
+1
-1
No files found.
app/views/admin/hooks/index.html.haml
View file @
b1eb3d46
%h3
.page-title
%h3
.page-title
System
H
ooks
System
h
ooks
%p
.light
%p
.light
#{
link_to
"System hooks "
,
help_system_hooks_path
,
class:
"vlink"
}
can be
#{
link_to
"System hooks "
,
help_system_hooks_path
,
class:
"vlink"
}
can be
...
@@ -22,21 +22,14 @@
...
@@ -22,21 +22,14 @@
%hr
%hr
-
if
@hooks
.
any?
-
if
@hooks
.
any?
%h3
.ui-box
Hooks
.title
%small
(
#{
@hooks
.
count
}
)
System hooks (
#{
@hooks
.
count
}
)
%br
%ul
.well-list
%table
%tr
%th
URL
%th
Method
%th
-
@hooks
.
each
do
|
hook
|
-
@hooks
.
each
do
|
hook
|
%tr
%li
%td
.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
=
link_to
admin_hook_path
(
hook
)
do
%strong
=
hook
.
url
%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"
app/views/projects/hooks/index.html.haml
View file @
b1eb3d46
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
-
if
@hooks
.
any?
-
if
@hooks
.
any?
.ui-box
.ui-box
.title
.title
Web
H
ooks (
#{
@hooks
.
count
}
)
Web
h
ooks (
#{
@hooks
.
count
}
)
%ul
.well-list
%ul
.well-list
-
@hooks
.
each
do
|
hook
|
-
@hooks
.
each
do
|
hook
|
%li
%li
...
...
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