Project

General

Profile

Actions

Patch #2599

closed

New View Hooks

Added by Thomas Löber almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
Start date:
2009-01-27
Due date:
% Done:

100%

Estimated time:

Description

Here is a patch with five new view hooks that I found useful. Maybe they can be included in the official version.

The 2nd hook in custom_fields/_form.rhtml is actually four hooks (one hook for each type of custom field: for example view_custom_fields_form_user_custom_field).

app/views/custom_fields/_form.rhtml:
  * [ 67] :view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f)
  * [ 97] :"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f)

app/views/issue_statuses/_form.rhtml:
  * [ 14] :view_issue_statuses_form, :issue_status => @issue_status)

app/views/my/account.rhtml:
  * [ 22] :view_my_account, :user => @user, :form => f)

app/views/users/_form.rhtml:
  * [ 16] :view_users_form, :user => @user, :form => f)

Files

new_hooks.diff (2.21 KB) new_hooks.diff Thomas Löber, 2009-01-27 11:01
more_hooks.diff (1.01 KB) more_hooks.diff CustomFieldsController hooks Thomas Löber, 2009-02-02 09:18
issues_show_desc_bottom_hook.diff (429 Bytes) issues_show_desc_bottom_hook.diff Daniel Vandersluis, 2009-02-25 20:34
Actions

Also available in: Atom PDF