Closed Bug 842159 Opened 13 years ago Closed 13 years ago

Add 'end' hook in the admin/users/edit.html.tmpl

Categories

(Bugzilla :: Extensions, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timello, Unassigned)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
Add 'end' hook to the template to enable additional contents at the end of the page. For instance, I would like to add a documentation for indirect membership derived from LDAP groups (extension that allows Bugzilla groups and LDAP groups mapping).
Summary: Add 'end' hook in the admin/users/edit.html.tmp → Add 'end' hook in the admin/users/edit.html.tmpl
Status: NEW → ASSIGNED
Attachment #714945 - Flags: review?(dkl)
Comment on attachment 714945 [details] [diff] [review] v1 Review of attachment 714945 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl
Attachment #714945 - Flags: review?(dkl) → review+
Flags: approval?
Flags: approval4.4?
Instead of adding a hook at the end of each template where you want to add stuff, you should add a hook at the top of global/footer.html.tmpl so that you can still add stuff before the footer is displayed. Then you can use [% component.callers %] to know which template called it to decide which data to display. So there is no need to add a hook into users/edit.html.tmpl.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: approval?
Flags: approval4.4?
Flags: approval4.4-
Flags: approval-
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: