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
9c8a1e65
Commit
9c8a1e65
authored
Jul 21, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix system hook example
parent
4261acda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
38 deletions
+7
-38
app/views/admin/hooks/_data_ex.html.erb
app/views/admin/hooks/_data_ex.html.erb
+7
-38
No files found.
app/views/admin/hooks/_data_ex.html.erb
View file @
9c8a1e65
<%
data_ex_str
=
<<
eos
<%
data_ex_str
=
<<
eos
{
{
:before => "95790bf891e76fee5e1747ab589903a6a1f80f22",
"created_at": "2012-07-21T07:30:54Z",
:after => "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"event_name": "project_create",
:ref => "refs/heads/master",
"name": "StoreCloud",
:user_id => 4,
"owner_email": "johnsmith@gmail.com",
:user_name => "John Smith",
"owner_name": "John Smith",
:repository => {
"path": "storecloud",
:name => "Diaspora",
"project_id": 74
:url => "localhost/diaspora",
:description => "",
:homepage => "localhost/diaspora",
:private => true
},
:commits => [
[0] {
:id => "450d0de7532f8b663b9c5cce183b...",
:message => "Update Catalan translation to e38cb41.",
:timestamp => "2011-12-12T14:27:31+02:00",
:url => "http://localhost/diaspora/commits/450d0de7532f...",
:author => {
:name => "Jordi Mallach",
:email => "jordi@softcatala.org"
}
},
....
[3] {
:id => "da1560886d4f094c3e6c9ef40349...",
:message => "fixed readme",
:timestamp => "2012-01-03T23:36:29+02:00",
:url => "http://localhost/diaspora/commits/da1560886d...",
:author => {
:name => "gitlab dev user",
:email => "gitlabdev@dv6700.(none)"
}
}
],
total_commits_count => 3
}
}
eos
eos
%>
%>
...
...
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