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 @@ ...@@ -29,6 +29,7 @@
# extra: string. Any other HTML to go inside the <head> tags. # extra: string. Any other HTML to go inside the <head> tags.
# jscript: string. Javascript to go in the header. # jscript: string. Javascript to go in the header.
# style: string. CSS style. # 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. # message: string. A message to display to the user. May contain HTML.
#%] #%]
...@@ -59,8 +60,10 @@ ...@@ -59,8 +60,10 @@
</style> </style>
[% END %] [% END %]
[% IF style_url %] [% IF style_urls %]
<link href="[% style_url %]" rel="stylesheet" type="text/css"> [% FOREACH style_url = style_urls %]
<link href="[% style_url %]" rel="stylesheet" type="text/css">
[% END %]
[% END %] [% END %]
</head> </head>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
[%############################################################################%] [%############################################################################%]
[% DEFAULT title = "Bug List" %] [% DEFAULT title = "Bug List" %]
[% style_url = "css/buglist.css" %] [% style_urls = [ "css/buglist.css" ] %]
[% qorder = order FILTER url_quote IF order %] [% 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