diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-21 10:47:57 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-21 10:47:57 +0300 |
commit | 11721b0dbe82c35789be3e4fa8e14663934b2ff5 (patch) | |
tree | cf74c457d70581f39a484a8133351b1beb3b9dd5 /app/views/admin/hooks | |
parent | 9c8a1e651716212cf50a623d98e03b8dbdb2c64a (diff) | |
download | gitlab-ce-11721b0dbe82c35789be3e4fa8e14663934b2ff5.tar.gz |
Help section for system hooks completed
Diffstat (limited to 'app/views/admin/hooks')
-rw-r--r-- | app/views/admin/hooks/_data_ex.html.erb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app/views/admin/hooks/_data_ex.html.erb b/app/views/admin/hooks/_data_ex.html.erb index 875c20a708b..652ee5aa56f 100644 --- a/app/views/admin/hooks/_data_ex.html.erb +++ b/app/views/admin/hooks/_data_ex.html.erb @@ -1,4 +1,5 @@ <% data_ex_str = <<eos +1. Project created: { "created_at": "2012-07-21T07:30:54Z", "event_name": "project_create", @@ -8,6 +9,57 @@ "path": "storecloud", "project_id": 74 } + +2. Project destroyed: +{ + "event_name": "project_destroy", + "name": "Underscore", + "owner_email": "johnsmith@gmail.com", + "owner_name": "John Smith", + "path": "underscore", + "project_id": 73 +} + +3. New Team Member: +{ + "created_at": "2012-07-21T07:30:56Z", + "event_name": "user_add_to_team", + "project_access": "Master", + "project_id": 74, + "project_name": "StoreCloud", + "project_path": "storecloud", + "owner_email": "johnsmith@gmail.com", + "owner_name": "John Smith", +} + +4. Team Member Removed: +{ + "created_at": "2012-07-21T07:30:56Z", + "event_name": "user_remove_from_team", + "project_access": "Master", + "project_id": 74, + "project_name": "StoreCloud", + "project_path": "storecloud", + "owner_email": "johnsmith@gmail.com", + "owner_name": "John Smith", +} + +5. User created: +{ + "created_at": "2012-07-21T07:44:07Z", + "email": "js@gitlabhq.com", + "event_name": "user_create", + "name": "John Smith" +} + +6. User removed: +{ + "created_at": "2012-07-21T07:44:07Z", + "email": "js@gitlabhq.com", + "event_name": "user_destroy", + "name": "John Smith" +} + eos %> <% js_lexer = Pygments::Lexer[:js] %> |