Closed Bug 122636 Opened 23 years ago Closed 23 years ago

Templatise colchange.cgi

Categories

(Bugzilla :: Query/Bug List, enhancement)

2.15
Other
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(2 files, 1 obsolete file)

I have created a templatised version of colchange.cgi with colchange.tmpl template.
Attaching patch for review.
Comment on attachment 67110 [details] [diff] [review]
Patch to templatise colchange.cgi (v1)

>+$template->process("buglist/colchange.tmpl", $vars)
>+  || DisplayError("Template process failed: " . $template->error())
>+  && exit;

Well, have we decided that the default extension is .tmpl? I thought it was
.html.tmpl or something?

>+<select name="splitheader">
>+<option value="0" [% "SELECTED" IF ! splitheader %]>Normal headers (prettier)
>+<option value="1" [% "SELECTED" IF splitheader %]>Stagger headers (often makes list more compact)
>+</select>

Please change this to a radiobutton with <LABEL>s around the text descriptions.
The option menu for 2 options
makes no sense and requires more clicks. Yeah, I know this isn't in the
description, but why not make things
better with a 4-line change? :-)

With that confirmed, r=kiko
Attachment #67110 - Attachment is obsolete: true
Made changes suggested by kiko.
This patch should be applied _over_ dkl's patch. The issue is that I can't do a
cvs add without write access, and so I can't produce a proper patch. 

All it does is add <label> support to the columns themselves, which is really
nice. It's a 4-liner.
Comment on attachment 67145 [details] [diff] [review]
Patch for templatising of colchange.cgi (v2)

r=kiko with my addon
Attachment #67145 - Flags: review+
Comment on attachment 67145 [details] [diff] [review]
Patch for templatising of colchange.cgi (v2)

Works for me...
r=jake
Attachment #67145 - Flags: review+
Comment on attachment 67291 [details] [diff] [review]
kiko_addon_v1: with this addon, I r=kiko the original patch.

I like <label> tags :)
r=jake
Attachment #67291 - Flags: review+
-> Patch author
Assignee: endico → dkl
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
fixing incorrect milestones on fixed bugs.
Target Milestone: --- → Bugzilla 2.16
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: