summaryrefslogtreecommitdiff
path: root/app/views/projects/hooks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-03 21:59:06 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-04 13:37:18 +0200
commitcf5d3bb0add2344ea6fd31520535fd2f382ff637 (patch)
tree51018a9349cd14918a6441ae49be6de3cd48ab56 /app/views/projects/hooks
parent887c0c67acdc4f9b847ea27d293328b09e703d8d (diff)
downloadgitlab-ce-cf5d3bb0add2344ea6fd31520535fd2f382ff637.tar.gz
Improve help page for Project web hooks
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r--app/views/projects/hooks/_data_ex.html.erb44
1 files changed, 0 insertions, 44 deletions
diff --git a/app/views/projects/hooks/_data_ex.html.erb b/app/views/projects/hooks/_data_ex.html.erb
deleted file mode 100644
index 5092aaf6750..00000000000
--- a/app/views/projects/hooks/_data_ex.html.erb
+++ /dev/null
@@ -1,44 +0,0 @@
-<% data_ex_str = <<eos
-{
- "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
- "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
- "ref": "refs/heads/master",
- "user_id": 4,
- "user_name": "John Smith",
- "project_id": 15,
- "repository": {
- "name": "Diaspora",
- "url": "git@localhost:diaspora.git",
- "description": "",
- "homepage": "http://localhost/diaspora",
- },
- "commits": [
- {
- "id": "b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
- "message": "Update Catalan translation to e38cb41.",
- "timestamp": "2011-12-12T14:27:31+02:00",
- "url": "http://localhost/diaspora/commits/b6568db1bc1dcd7f8b4d5a946b0b91f9dacd7327",
- "author": {
- "name": "Jordi Mallach",
- "email": "jordi@softcatala.org",
- }
- },
- // ...
- {
- "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
- "message": "fixed readme",
- "timestamp": "2012-01-03T23:36:29+02:00",
- "url": "http://localhost/diaspora/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
- "author": {
- "name": "GitLab dev user",
- "email": "gitlabdev@dv6700.(none)",
- },
- },
- ],
- "total_commits_count": 4,
-};
-eos
-%>
-<div class="<%= user_color_scheme_class%>">
- <%= raw Pygments::Lexer[:js].highlight(data_ex_str) %>
-</div>