Closed
Bug 496858
Opened 16 years ago
Closed 11 years ago
Hook to edituser templates
Categories
(Bugzilla :: Extensions, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bbaetz, Unassigned)
Details
(Whiteboard: [es-ita])
Attachments
(1 file)
|
2.24 KB,
patch
|
mkanat
:
review-
|
Details | Diff | Splinter 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)
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [es-ita]
Updated•16 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 1•16 years ago
|
||
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-
| Reporter | ||
Comment 2•16 years ago
|
||
> I think you only need to hook userdata, not create also, no?
For my specific needs, yes, but while I'm here....
Comment 3•16 years ago
|
||
No, I mean, the hooks are actually total duplicates of each other.
| Reporter | ||
Comment 4•16 years ago
|
||
(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.
Comment 5•16 years ago
|
||
(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.
| Reporter | ||
Comment 6•16 years ago
|
||
(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
Updated•16 years ago
|
Component: User Accounts → Extensions
Updated•16 years ago
|
Severity: normal → enhancement
Comment 7•11 years ago
|
||
No activity for 4½ years. Closing. Feel free to reopen if still wanted.
Assignee: bbaetz → extensions
Updated•11 years ago
|
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.
Description
•