Hooks List » History » Version 12
Mischa The Evil, 2009-04-26 18:01
Updated with r2686 and r2687
1 | 1 | Jean-Philippe Lang | h1. Hooks |
---|---|---|---|
2 | 1 | Jean-Philippe Lang | |
3 | 8 | Eric Davis | To see the current list of hooks, run @rake redmine:plugins:hook_list@ in the Redmine directory. |
4 | 2 | Eric Davis | |
5 | 1 | Jean-Philippe Lang | h2. Views |
6 | 1 | Jean-Philippe Lang | |
7 | 1 | Jean-Philippe Lang | For views hooks, current project is accessible using @:project@ key of context. |
8 | 1 | Jean-Philippe Lang | |
9 | 3 | Eric Davis | table{width:100%}. |
10 | 1 | Jean-Philippe Lang | |_. Name|_. Description|_. Context| |
11 | 11 | Mischa The Evil | |@:view_custom_fields_form_upper_box@| |@:custom_field, :form@| |
12 | 11 | Mischa The Evil | |@:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}"@| |@:custom_field, :form@| |
13 | 11 | Mischa The Evil | |@:view_issue_statuses_form@| |@:issue_status@| |
14 | 1 | Jean-Philippe Lang | |@:view_issues_bulk_edit_details_bottom@|Appends content to the bulk edit form before the note|@:issues@| |
15 | 11 | Mischa The Evil | |@:view_issues_edit_notes_bottom@| |@:issue, :notes, :form@| |
16 | 11 | Mischa The Evil | |@:view_issues_form_details_bottom@|Appends content to the html table at the bottom of the issue form|@:issue, :form@| |
17 | 11 | Mischa The Evil | |@:view_issues_history_journal_bottom@| |@:journal@| |
18 | 1 | Jean-Philippe Lang | |@:view_issues_show_details_bottom@|Appends content to the bottom of the issues details table|@:issue@| |
19 | 11 | Mischa The Evil | |@:view_issues_sidebar_issues_bottom@| |(none)| |
20 | 11 | Mischa The Evil | |@:view_issues_sidebar_planning_bottom@| |(none)| |
21 | 11 | Mischa The Evil | |@:view_issues_sidebar_queries_bottom@| |(none)| |
22 | 11 | Mischa The Evil | |@:view_issues_context_menu_start@| |@:issues, :can, :back@| |
23 | 11 | Mischa The Evil | |@:view_issues_context_menu_end@| |@:issues, :can, :back@| |
24 | 11 | Mischa The Evil | |@:view_issues_show_description_bottom@| |@:issue@| |
25 | 11 | Mischa The Evil | |@:view_journals_notes_form_after_notes@| |@:journal@| |
26 | 11 | Mischa The Evil | |@:view_journals_update_rjs_bottom@| |@:page, :journal@| |
27 | 1 | Jean-Philippe Lang | |@:view_layouts_base_body_bottom@|Appends content to the end of the body section of the base layout|(none)| |
28 | 11 | Mischa The Evil | |@:view_layouts_base_content@| |(none)| |
29 | 11 | Mischa The Evil | |@:view_layouts_base_html_head@|Appends content to the html head of the base layout|(none)| |
30 | 11 | Mischa The Evil | |@:view_layouts_base_sidebar@| |(none)| |
31 | 11 | Mischa The Evil | |@:view_my_account@| |@:user, :form@| |
32 | 11 | Mischa The Evil | |@:view_projects_form@| |@:project, :form@| |
33 | 11 | Mischa The Evil | |@:view_projects_roadmap_version_bottom@| |@:version@| |
34 | 5 | Eric Davis | |@:view_projects_settings_members_table_header@|Appends content to the table header of a Project's Member setting|@:project@| |
35 | 1 | Jean-Philippe Lang | |@:view_projects_settings_members_table_row@|Appends content to the table row of a Project's Member setting|@:member, :project@| |
36 | 12 | Mischa The Evil | |@:view_projects_show_left@| |@:project@| |
37 | 12 | Mischa The Evil | |@:view_projects_show_right@| |@:project@| |
38 | 1 | Jean-Philippe Lang | |@:view_repositories_show_contextual@|Appends content to the contextual menu in the Repositories pane|@:project, :repository@| |
39 | 11 | Mischa The Evil | |@:view_timelog_edit_form_bottom@| |@:time_entry, :form@| |
40 | 11 | Mischa The Evil | |@:view_users_form@| |@:user, :form@| |
41 | 11 | Mischa The Evil | |@:view_versions_show_bottom@| |@:version@| |
42 | 12 | Mischa The Evil | |@:view_welcome_index_left@| |@:project@| |
43 | 12 | Mischa The Evil | |@:view_welcome_index_right@| |@:project@| |
44 | 2 | Eric Davis | |
45 | 2 | Eric Davis | h2. Controllers |
46 | 2 | Eric Davis | |
47 | 1 | Jean-Philippe Lang | table{width:100%}. |
48 | 1 | Jean-Philippe Lang | |_. Name|_. Description|_. Context| |
49 | 11 | Mischa The Evil | |@:controller_account_success_authentication_after@| | @:user@| |
50 | 11 | Mischa The Evil | |@:controller_custom_fields_new_after_save@| | @:params, :custom_field@| |
51 | 11 | Mischa The Evil | |@:controller_custom_fields_edit_after_save@| | @:params, :custom_field@| |
52 | 1 | Jean-Philippe Lang | |@:controller_issues_bulk_edit_before_save@|Passes the current issue and the params to the hook before saving. This can be used to set attributes on the issues.| @:params, :issue@| |
53 | 11 | Mischa The Evil | |@:controller_issues_new_after_save@| | @:params, :issue@| |
54 | 11 | Mischa The Evil | |@:controller_issues_edit_before_save@| | @:params, :issue, :time_entry, :journal@| |
55 | 11 | Mischa The Evil | |@:controller_issues_edit_after_save@| | @:params, :issue, :time_entry, :journal@| |
56 | 11 | Mischa The Evil | |@:controller_journals_edit_post@| | @:params, :journal@| |
57 | 2 | Eric Davis | |
58 | 2 | Eric Davis | h2. Helpers |
59 | 2 | Eric Davis | |
60 | 3 | Eric Davis | table{width:100%}. |
61 | 2 | Eric Davis | |_. Name|_. Description|_. Context| |
62 | 2 | Eric Davis | |@:helper_issues_show_detail_after_setting@|Passes data to the hook to allow it to set the label and value.|@:detail, :label, :value, :old_value@| |
63 | 7 | Eric Davis | |
64 | 7 | Eric Davis | h2. Other |
65 | 7 | Eric Davis | |
66 | 7 | Eric Davis | table{width:100%}. |
67 | 7 | Eric Davis | |_. Name|_. Description|_. Context| |