Closed Bug 106612 Opened 23 years ago Closed 21 years ago

Convert HTML files to HTML templates.

Categories

(Bugzilla :: Bugzilla-General, defect, P1)

2.15
defect

Tracking

()

RESOLVED DUPLICATE of bug 170213

People

(Reporter: CodeMachine, Assigned: CodeMachine)

Details

Attachments

(1 file)

We should distribute HTML files anymore, instead we should convert them to
templates.

The first reason is that if an admin changes it it won't be overwritten upon
upgrade.

The second reason is that the admin can place dynamic stuff like params in the
templates.

Often we might need to convert them because they require dynamic information.  I
have already converted bug_status.html over as a part of bug #94534.
Blocks: bz-template
That's should _not_ distributed HTML files, of course.
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
blocks a blocker so it's a blocker.
Severity: normal → blocker
Priority: P2 → P1
Target Milestone: Bugzilla 2.18 → Bugzilla 2.16
Is this still a blocker? matty's stuff isn't making 2.16. A trivial mass
movement, without taking advantage of any of the templateisation (do we even
want header/footer for these?) wouldn't be too hard, but we're running out of
time. AFAIK noone has started on these with a patch intending to go into 2.16.

Is the effort worth it at this stage?

Would the .html versions all have to redirect to the .cgi ones, for old
bookmarks (I'd say yes).
OK, I'll take this one.
Assignee: justdave → matty
QA Contact: matty → jake
Status: NEW → ASSIGNED
This probably won't make 2.16, we'll do this during phase II of templatization
in 2.18
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
I see those files:
| bug_status.html
I leave this to bug #94534.

| bugwritinghelp.html
| quicksearch.html
| quicksearchhack.html
| votehelp.html
I page.cgi'ed them. One needs to remove + cvs remove them
(I didn't to a cvs diff -N of them to make the patch cleaner)
Attachment #108694 - Flags: review?(bbaetz)
Looks good to me, as far as quicksearch*.html is affected.
Andreas Franke wrote:
> Looks good to me, as far as quicksearch*.html is affected.
quicksearch*.html is from you (I did a quicksearch, but couldn't find the
author)? Then I should add you to the contributers in those files!
Er... this patch already exists (and has for a while) in bug 170213. In that
bug, we are working through the issues relating to this possible enhancement,
including deciding where we want the user help, and how it integrates with The
Bugzilla Guide.

Gerv
Blocks: 182975
I know it's backwards to dupe in this direction, but the other bug has more
discussion, and cvs action that's already taken place.

*** This bug has been marked as a duplicate of 170213 ***
No longer blocks: bz-template, 182975
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
clearing milestone on wontfix/duplicate/worksforme/invalid
Target Milestone: Bugzilla 2.18 → ---
Comment on attachment 108694 [details] [diff] [review]
v1: Templatize bugwritinghelp.html, quicksearch*.html, votehelp.html

Removing r? from DUPLICATE bug.
Attachment #108694 - Flags: review?(bbaetz)
QA Contact: jake → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: