Closed Bug 524065 Opened 15 years ago Closed 15 years ago

Template Hook for attachment creating and editing, at end

Categories

(Bugzilla :: Extensions, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: mkanat, Assigned: mkanat)

Details

(Whiteboard: [es-ita])

Attachments

(1 file, 1 obsolete file)

Attached patch v1 (obsolete) — Splinter Review
Here's a template hook for attachment/create, after the table is created. (I'm using it to insert some JavaScript.)

This is a super-simple one-line patch.
Attachment #407956 - Flags: review?(dkl)
Whiteboard: [es-ita]
Summary: Template Hook for attachment/create.html.tmpl, after table → Template Hook for attachment creating and editing, at end
Attached patch v2Splinter Review
I renamed it to "end" to be more consistent and I also added one for the editing form.
Assignee: ui → mkanat
Attachment #407956 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #407960 - Flags: review?(dkl)
Attachment #407956 - Flags: review?(dkl)
This patch is going to conflict with my (large) patch from bug 365267. I would like my patch to land first. It's much more painful to unbitrot it than this one.
(In reply to comment #2)
> This patch is going to conflict with my (large) patch from bug 365267. I would
> like my patch to land first. It's much more painful to unbitrot it than this
> one.

  Fair enough, I can wait. :-)
Comment on attachment 407960 [details] [diff] [review]
v2

Granting myself review as module owner, though I may have to un-bitrot this patch.
Attachment #407960 - Flags: review?(dkl) → review+
Flags: approval3.4+
Flags: approval+
Flags: approval3.4+ → approval3.4?
Component: User Interface → Extensions
Actually, it surprisingly applied, with just a fuzz. :-)

Checking in template/en/default/attachment/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/create.html.tmpl,v  <--  create.html.tmpl
new revision: 1.45; previous revision: 1.44
done
Checking in template/en/default/attachment/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl,v  <--  edit.html.tmpl
new revision: 1.64; previous revision: 1.63
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: Bugzilla 3.4 → Bugzilla 3.6
I guess you forgot to remove the approval3.4? flag, per the target milestone.
Flags: approval3.4?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: