Closed Bug 496858 Opened 16 years ago Closed 11 years ago

Hook to edituser templates

Categories

(Bugzilla :: Extensions, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bbaetz, Unassigned)

Details

(Whiteboard: [es-ita])

Attachments

(1 file)

Attached patch PatchSplinter Review
Need to be able to hook the displays for users, to show extra information. Note that I've hooked userdata as well as edit/create because some fields might be display only and not useful for create (like the existing group stuff)
Attachment #382096 - Flags: review?(mkanat)
Whiteboard: [es-ita]
OS: Linux → All
Hardware: x86 → All
Comment on attachment 382096 [details] [diff] [review] Patch >Index: template/en/default/admin/users/create.html.tmpl >@@ -37,6 +37,7 @@ > editusers = editusers > otheruser = [] > %] >+ [% Hook.process('field') %] I think you only need to hook userdata, not create also, no?
Attachment #382096 - Flags: review?(mkanat) → review-
> I think you only need to hook userdata, not create also, no? For my specific needs, yes, but while I'm here....
No, I mean, the hooks are actually total duplicates of each other.
(In reply to comment #3) > No, I mean, the hooks are actually total duplicates of each other. No they're not. userdata is not only used for create.
(In reply to comment #4) > (In reply to comment #3) > > No, I mean, the hooks are actually total duplicates of each other. > > No they're not. userdata is not only used for create. Right, but there's no need to add a hook separately to create--particularly since you can tell if you're in create or not, inside of userdata.
(In reply to comment #5) > (In reply to comment #4) > > No they're not. userdata is not only used for create. > > Right, but there's no need to add a hook separately to create--particularly > since you can tell if you're in create or not, inside of userdata. I guess, but all the other objects use create, so I'd like to keep it the same for symmetry
Component: User Accounts → Extensions
Severity: normal → enhancement
No activity for 4½ years. Closing. Feel free to reopen if still wanted.
Assignee: bbaetz → extensions
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: