Vote #74215
完了View hooks for user preferences
0%
説明
I need two new view hooks for my plugin.
- app/views/my/account.html.erb lines 39-43
@
@- app/views/users/_form.html.erb lines 45-49
@
@This will allow people to add settings under the "Preferences" section for each of these pages. Currently you can only add setting to or after the Information section. My plugins setting is more of a preference than information.
journals
I think we could use the same hook in both views. Do you really need 2 different ones?
--------------------------------------------------------------------------------
Well, the existing hooks are actually different (view_users_form, view_my_account). Lets do the same.
--------------------------------------------------------------------------------
Sounds good thanks for great work!
--------------------------------------------------------------------------------
Hooks added. They were renamed: @:view_my_account_preferences@ and @:view_users_form_preferences@.
--------------------------------------------------------------------------------