diff options
author | justdave%syndicomm.com <> | 2002-06-05 11:21:15 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2002-06-05 11:21:15 +0200 |
commit | b915835226f0b0cb463aaeb191ca31efb1cce84d (patch) | |
tree | 50a1ee948ffcaaec605af6402a74f32c49ed0ff8 /template/en/default | |
parent | 633f6e9de3706e593c46eb680984015f19251145 (diff) | |
download | bugzilla-b915835226f0b0cb463aaeb191ca31efb1cce84d.tar.gz bugzilla-b915835226f0b0cb463aaeb191ca31efb1cce84d.tar.xz |
Fix for bug 148679: permit multiple stylesheets in the header template.
Patch by Joel Peshkin <bugreport@peshkin.net>
r= jouni, gerv
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 0cc4badcf..d739ad03a 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -29,6 +29,7 @@ # extra: string. Any other HTML to go inside the <head> tags. # jscript: string. Javascript to go in the header. # style: string. CSS style. + # style_urls: list. List of URLs to CSS style sheets. # message: string. A message to display to the user. May contain HTML. #%] @@ -59,8 +60,10 @@ </style> [% END %] - [% IF style_url %] - <link href="[% style_url %]" rel="stylesheet" type="text/css"> + [% IF style_urls %] + [% FOREACH style_url = style_urls %] + <link href="[% style_url %]" rel="stylesheet" type="text/css"> + [% END %] [% END %] </head> diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index f6a4df389..8ffba004f 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -24,7 +24,7 @@ [%############################################################################%] [% DEFAULT title = "Bug List" %] -[% style_url = "css/buglist.css" %] +[% style_urls = [ "css/buglist.css" ] %] [% qorder = order FILTER url_quote IF order %] |