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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8a56c2c0
Commit
8a56c2c0
authored
Jun 10, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed web hooks view conflict
parent
bcc146f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
app/views/shared/web_hooks/_form.html.haml
app/views/shared/web_hooks/_form.html.haml
+1
-24
No files found.
app/views/shared/web_hooks/_form.html.haml
View file @
8a56c2c0
...
...
@@ -6,13 +6,8 @@
%h4
.prepend-top-0
=
page_title
%p
<
<<<<<<
HEAD
#{
link_to
"Webhooks "
,
help_page_path
(
"web_hooks"
,
"web_hooks"
),
class:
"vlink"
}
can
be
used
for
binding
events
when
something
is
happening
within
the
#{
context_title
}
.
==
=====
#{
link_to
"Webhooks"
,
help_page_path
(
"web_hooks"
,
"web_hooks"
)
}
can be
used
for
binding
events
when
something
is
happening
within
the
project
.
>
>>>>>> cea3cf177c68bb1fa9326d4e88631b7737ae8a98
used for binding events when something is happening within the
#{
context_title
}
.
.col-lg-9.append-bottom-default
=
form_for
hook
,
as: :hook
,
url:
polymorphic_path
(
url_components
+
[
:hooks
])
do
|
f
|
=
form_errors
(
hook
)
...
...
@@ -90,25 +85,7 @@
-
if
hooks
.
any?
%ul
.well-list
-
hooks
.
each
do
|
hook
|
<
<<<<<<
HEAD
%li
.row
.col-md-8.col-lg-7
%strong
.light-header
=
hook
.
url
%div
-
%w(push_events tag_push_events issues_events note_events merge_requests_events build_events wiki_page_events)
.
each
do
|
trigger
|
-
if
hook
.
send
(
trigger
)
%span
.label.label-gray.deploy-project-label
=
trigger
.
titleize
.col-md-4.col-lg-5.text-right-lg.prepend-top-5
%span
.append-right-10.inline
SSL
Verification:
#{
hook
.
enable_ssl_verification
?
"enabled"
:
"disabled"
}
=
link_to
'Test'
,
polymorphic_path
(
url_components
+
[
hook
],
action: :test
),
class:
"btn btn-sm"
=
link_to
polymorphic_path
(
url_components
+
[
hook
]),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
"btn btn-transparent"
do
%span
.sr-only
Remove
=
icon
(
'trash'
)
==
=====
=
render
"project_hook"
,
hook:
hook
>
>>>>>> cea3cf177c68bb1fa9326d4e88631b7737ae8a98
-
else
%p
.settings-message.text-center.append-bottom-0
No webhooks found, add one in the form above.
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