Packaging of Bugzilla 2.18 in Debian
David Miller
justdave at bugzilla.org
Wed Jan 19 03:00:04 UTC 2005
Gervase Markham wrote:
> David Miller wrote:
>
>> It should be possible to do something like [% webpath %] in front of
>> the pathname to all of the images, js, css, etc files.
>
> Can we not do this automatically, or using some sort of TT variable?
> It's a shame to clutter all the templates. Or is that not what you are
> suggesting?
If TT does it globally, it'll affect all of the cgi references as well,
and we don't want that.
What I'm suggesting is (for example) in the header template, instead of:
<link href="skins/standard/global.css" rel="stylesheet"
type="text/css">
<link href="skins/custom/global.css" rel="stylesheet" type="text/css">
We do:
<link href="[% webpath %]skins/standard/global.css"
rel="stylesheet" type="text/css">
<link href="[% webpath %]skins/custom/global.css" rel="stylesheet"
type="text/css">
--
Dave Miller http://www.justdave.net/
System Administrator, Mozilla Foundation http://www.mozilla.org/
Project Leader, Bugzilla Bug Tracking System http://www.bugzilla.org/
More information about the developers
mailing list