Closed
Bug 221039
Opened 21 years ago
Closed 21 years ago
Separating knob in edit.html.tmpl
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: ludovic, Assigned: ludovic)
Details
Attachments
(2 files)
10.05 KB,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
793 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925
This patch allows to separate the action information ('knob' I think.. I've no
idea what this stands for) from the edit template.. This would be better for
customization of the look of edit without having to change the knob part. This
could also allow to created different workflows in separate files depending on
some data like the products etc..
Reproducible: Always
Steps to Reproduce:
Assignee | ||
Comment 1•21 years ago
|
||
Simple separation of the 'knob' code..
Assignee | ||
Updated•21 years ago
|
Attachment #132528 -
Flags: review?
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 132528 [details] [diff] [review]
Patch agains 2.17 head of Oct 2nd
Asking for review
Attachment #132528 -
Flags: review? → review?(myk)
Comment 3•21 years ago
|
||
I currently have a patch to reorganise the way saved queries are done, in bug
179339, which Myk is also due to review. It has the side-effect of vastly
reducing the complexity of the knob in this file. I believe that it would clash
with this patch; I would therefore ask that my patch be reviewed in preference,
and then Ludovic could see if one like his was still needed.
Gerv
Assignee | ||
Comment 4•21 years ago
|
||
I think you misunderstound my patch or maybe I misued the 'knob' term.. My patch
is not in the search code but in the show_bug code.. The objective is actually
doing the same thing that is done in the search code which is to have the action
template separated from the show_bug template.. This would improve reuse..
So I think the patches can be reviewed separately.
Comment 5•21 years ago
|
||
Ludovic, don't you want to supply bug to the PROCESS line?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 6•21 years ago
|
||
I don't understand what you mean. Can you elaborate ?
Comment 7•21 years ago
|
||
Comment on attachment 132528 [details] [diff] [review]
Patch agains 2.17 head of Oct 2nd
nevermind, it works (tested). I think this is a good idea, given that the edit
template is quite long -- I did it locally in a slightly different way, but it
will help when I do a UI whack of this form.
Attachment #132528 -
Flags: review?(myk) → review+
Assignee | ||
Comment 8•21 years ago
|
||
So what's the next step ? Is somebody checking it in cvs ?
(my first checked in patch :) )
Ludovic
Comment 11•21 years ago
|
||
This does indeed touch the same code as the saved query simplification...
I want a few more eyes on this to see which one will be easier to put in first
with the least damage to the other...
Flags: approval?
Comment 12•21 years ago
|
||
ok, wrong knobs... Gerv's patch is the knobs on the query page, this patch is
the knobs on the show_bug page.... I gotta learn to look at the filenames. :)
The code in those two places looks awfully similar. :)
Flags: approval+
Updated•21 years ago
|
Target Milestone: --- → Bugzilla 2.18
Comment 13•21 years ago
|
||
Checked in:
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl,v <--
edit.html.tmpl
new revision: 1.36; previous revision: 1.35
Checking in template/en/default/bug/knob.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/knob.html.tmpl,v <--
knob.html.tmpl
Ludovic, thanks for the patch -- remember, I'm expecting your Wiki work too :-)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 14•21 years ago
|
||
So Ludovic and I know that when moving variables around in templates,
filterexceptions.pl needs to be updated :-)
r=justdave, bustage fix checked in.
Updated•21 years ago
|
Attachment #134371 -
Flags: review+
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•