Commit 11721b0dbe82c35789be3e4fa8e14663934b2ff5
1 parent
9c8a1e65
Exists in
master
and in
4 other branches
Help section for system hooks completed
Showing
2 changed files
with
55 additions
and
0 deletions
Show diff stats
app/views/admin/hooks/_data_ex.html.erb
| 1 | 1 | <% data_ex_str = <<eos |
| 2 | +1. Project created: | |
| 2 | 3 | { |
| 3 | 4 | "created_at": "2012-07-21T07:30:54Z", |
| 4 | 5 | "event_name": "project_create", |
| ... | ... | @@ -8,6 +9,57 @@ |
| 8 | 9 | "path": "storecloud", |
| 9 | 10 | "project_id": 74 |
| 10 | 11 | } |
| 12 | + | |
| 13 | +2. Project destroyed: | |
| 14 | +{ | |
| 15 | + "event_name": "project_destroy", | |
| 16 | + "name": "Underscore", | |
| 17 | + "owner_email": "johnsmith@gmail.com", | |
| 18 | + "owner_name": "John Smith", | |
| 19 | + "path": "underscore", | |
| 20 | + "project_id": 73 | |
| 21 | +} | |
| 22 | + | |
| 23 | +3. New Team Member: | |
| 24 | +{ | |
| 25 | + "created_at": "2012-07-21T07:30:56Z", | |
| 26 | + "event_name": "user_add_to_team", | |
| 27 | + "project_access": "Master", | |
| 28 | + "project_id": 74, | |
| 29 | + "project_name": "StoreCloud", | |
| 30 | + "project_path": "storecloud", | |
| 31 | + "owner_email": "johnsmith@gmail.com", | |
| 32 | + "owner_name": "John Smith", | |
| 33 | +} | |
| 34 | + | |
| 35 | +4. Team Member Removed: | |
| 36 | +{ | |
| 37 | + "created_at": "2012-07-21T07:30:56Z", | |
| 38 | + "event_name": "user_remove_from_team", | |
| 39 | + "project_access": "Master", | |
| 40 | + "project_id": 74, | |
| 41 | + "project_name": "StoreCloud", | |
| 42 | + "project_path": "storecloud", | |
| 43 | + "owner_email": "johnsmith@gmail.com", | |
| 44 | + "owner_name": "John Smith", | |
| 45 | +} | |
| 46 | + | |
| 47 | +5. User created: | |
| 48 | +{ | |
| 49 | + "created_at": "2012-07-21T07:44:07Z", | |
| 50 | + "email": "js@gitlabhq.com", | |
| 51 | + "event_name": "user_create", | |
| 52 | + "name": "John Smith" | |
| 53 | +} | |
| 54 | + | |
| 55 | +6. User removed: | |
| 56 | +{ | |
| 57 | + "created_at": "2012-07-21T07:44:07Z", | |
| 58 | + "email": "js@gitlabhq.com", | |
| 59 | + "event_name": "user_destroy", | |
| 60 | + "name": "John Smith" | |
| 61 | +} | |
| 62 | + | |
| 11 | 63 | eos |
| 12 | 64 | %> |
| 13 | 65 | <% js_lexer = Pygments::Lexer[:js] %> | ... | ... |