Closed Bug 596079 Opened 15 years ago Closed 15 years ago

Merge content-types.html.tmpl with createformcontents.html.tmpl

Categories

(Bugzilla :: Attachments & Requests, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

in attachment/, content-types.html.tmpl contains nothing more than a list of MIME types you can select from when attaching a new file. It brings no value being in a separate template. It could be in a BLOCK in createformcontents.html.tmpl. Once the merge is done, I plan to add a hook to this block so that extensions can alter the list of available MIME types.
Attached patch patch, v1Splinter Review
Assignee: attach-and-request → LpSolit
Status: NEW → ASSIGNED
Attachment #482837 - Flags: review?(timello)
I'm going to take it for 4.0 too, so that we don't break extensions in the 4.x series (the hook is already at the right place).
Target Milestone: --- → Bugzilla 4.0
Comment on attachment 482837 [details] [diff] [review] patch, v1 It's nice to have a hook for that! It looks good and it was tested!
Attachment #482837 - Flags: review?(timello) → review+
Flags: approval?
Thanks :)
Flags: approval?
Flags: approval4.0+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ deleted template/en/default/attachment/content-types.html.tmpl modified template/en/default/attachment/createformcontents.html.tmpl Committed revision 7547. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ missing template/en/default/attachment/content-types.html.tmpl modified template/en/default/attachment/content-types.html.tmpl modified template/en/default/attachment/createformcontents.html.tmpl Committed revision 7444.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: