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
Jérome Perrin
gitlab-ce
Commits
dffeb1a4
Commit
dffeb1a4
authored
May 10, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cosmetic fixes in hooks admin screen
parent
551c000d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/admin/hooks/_form.html.haml
app/views/admin/hooks/_form.html.haml
+3
-3
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-1
No files found.
app/views/admin/hooks/_form.html.haml
View file @
dffeb1a4
...
@@ -23,21 +23,21 @@
...
@@ -23,21 +23,21 @@
=
form
.
label
:repository_update_events
,
class:
'list-label'
do
=
form
.
label
:repository_update_events
,
class:
'list-label'
do
%strong
Repository update events
%strong
Repository update events
%p
.light
%p
.light
This
url
will be triggered when repository is updated
This
URL
will be triggered when repository is updated
%div
%div
=
form
.
check_box
:push_events
,
class:
'pull-left'
=
form
.
check_box
:push_events
,
class:
'pull-left'
.prepend-left-20
.prepend-left-20
=
form
.
label
:push_events
,
class:
'list-label'
do
=
form
.
label
:push_events
,
class:
'list-label'
do
%strong
Push events
%strong
Push events
%p
.light
%p
.light
This
url
will be triggered for each branch updated to the repository
This
URL
will be triggered for each branch updated to the repository
%div
%div
=
form
.
check_box
:tag_push_events
,
class:
'pull-left'
=
form
.
check_box
:tag_push_events
,
class:
'pull-left'
.prepend-left-20
.prepend-left-20
=
form
.
label
:tag_push_events
,
class:
'list-label'
do
=
form
.
label
:tag_push_events
,
class:
'list-label'
do
%strong
Tag push events
%strong
Tag push events
%p
.light
%p
.light
This
url
will be triggered when a new tag is pushed to the repository
This
URL
will be triggered when a new tag is pushed to the repository
.form-group
.form-group
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'control-label checkbox'
=
form
.
label
:enable_ssl_verification
,
'SSL verification'
,
class:
'control-label checkbox'
.col-sm-10
.col-sm-10
...
...
app/views/admin/hooks/index.html.haml
View file @
dffeb1a4
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
=
link_to
'Remove'
,
admin_hook_path
(
hook
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
'btn btn-remove btn-sm'
=
link_to
'Remove'
,
admin_hook_path
(
hook
),
data:
{
confirm:
'Are you sure?'
},
method: :delete
,
class:
'btn btn-remove btn-sm'
.monospace
=
hook
.
url
.monospace
=
hook
.
url
%div
%div
-
%w(
push_events tag_push_events issues_events note_events merge_requests_events build_events repository_update
_events)
.
each
do
|
trigger
|
-
%w(
repository_update_events push_events tag_push_events issues_events note_events merge_requests_events build
_events)
.
each
do
|
trigger
|
-
if
hook
.
send
(
trigger
)
-
if
hook
.
send
(
trigger
)
%span
.label.label-gray
=
trigger
.
titleize
%span
.label.label-gray
=
trigger
.
titleize
%span
.label.label-gray
SSL Verification:
#{
hook
.
enable_ssl_verification
?
'enabled'
:
'disabled'
}
%span
.label.label-gray
SSL Verification:
#{
hook
.
enable_ssl_verification
?
'enabled'
:
'disabled'
}
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