Fix for bug 148679: permit multiple stylesheets in the header template.

Patch by Joel Peshkin <bugreport@peshkin.net> r= jouni, gerv
parent 633f6e9d
......@@ -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,9 +60,11 @@
</style>
[% END %]
[% IF style_url %]
[% IF style_urls %]
[% FOREACH style_url = style_urls %]
<link href="[% style_url %]" rel="stylesheet" type="text/css">
[% END %]
[% END %]
</head>
......
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment