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
Boxiang Sun
gitlab-ce
Commits
3d978f06
Commit
3d978f06
authored
Jun 19, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from table to list for Hooks page
parent
cc2145da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
app/views/hooks/index.html.haml
app/views/hooks/index.html.haml
+6
-12
No files found.
app/views/hooks/index.html.haml
View file @
3d978f06
...
@@ -20,21 +20,15 @@
...
@@ -20,21 +20,15 @@
%hr
%hr
-
if
@hooks
.
any?
-
if
@hooks
.
any?
%h3
.page_title
.ui-box
Hooks (
#{
@hooks
.
count
}
)
%h5
.title
%br
Hooks (
#{
@hooks
.
count
}
)
%table
%ul
.well-list
%thead
-
@hooks
.
each
do
|
hook
|
%tr
%li
%th
URL
%th
-
@hooks
.
each
do
|
hook
|
%tr
%td
%span
.badge.badge-info
POST
%span
.badge.badge-info
POST
→
→
%span
.monospace
=
hook
.
url
%span
.monospace
=
hook
.
url
%td
.pull-right
.pull-right
=
link_to
'Test Hook'
,
test_project_hook_path
(
@project
,
hook
),
class:
"btn btn-small grouped"
=
link_to
'Test Hook'
,
test_project_hook_path
(
@project
,
hook
),
class:
"btn btn-small grouped"
=
link_to
'Remove'
,
project_hook_path
(
@project
,
hook
),
confirm:
'Are you sure?'
,
method: :delete
,
class:
"btn btn-remove btn-small grouped"
=
link_to
'Remove'
,
project_hook_path
(
@project
,
hook
),
confirm:
'Are you sure?'
,
method: :delete
,
class:
"btn btn-remove btn-small grouped"
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