diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-21 00:22:59 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-03-21 00:22:59 +0000 |
commit | 451ef7f21f411d4bfe4138a71be269f566cd4647 (patch) | |
tree | 80440f6f58bdfe818e770317789e9bc6ff07a853 /app/views/custom_fields | |
parent | b67d624754f7f02815f7ef2a80c2405f036f92d7 (diff) | |
download | redmine-451ef7f21f411d4bfe4138a71be269f566cd4647.tar.gz redmine-451ef7f21f411d4bfe4138a71be269f566cd4647.zip |
Added several more plugin hooks:
* :controller_custom_fields_new_after_save
* :controller_custom_fields_edit_after_save
* :view_custom_fields_form_upper_box
* :view_custom_fields_form_* (type of custom field)
* :view_issue_statuses_form
* :view_issues_show_description_bottom
* :view_my_account
* :view_users_form
#2599
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2611 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r-- | app/views/custom_fields/_form.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml index d26af9420..b9d7ec017 100644 --- a/app/views/custom_fields/_form.rhtml +++ b/app/views/custom_fields/_form.rhtml @@ -65,6 +65,7 @@ function toggle_custom_field_format() { :rows => 15 %> <br /><em><%= l(:text_custom_field_possible_values_info) %></em></p> <p><%= @custom_field.field_format == 'bool' ? f.check_box(:default_value) : f.text_field(:default_value) %></p> +<%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %> </div> <div class="box"> @@ -94,5 +95,6 @@ when "IssueCustomField" %> <p><%= f.check_box :is_required %></p> <% end %> +<%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %> </div> <%= javascript_tag "toggle_custom_field_format();" %> |