Owen Leonard
6381d1853d
The staff client CSS is not language-specific, so it can be moved out of the en/ directory and thus not be duplicated for every translation. In order to be able to have a generic path to the YUI CSS files, the YUI directory is moved by this patch to the staff client's lib/ directory. To test, apply the patch and visit various pages in the staff client. Look in particular at pages which include more than the standard CSS. For example: - The staff client login page. - The staff client home page. - Patron -> Set permissions. - The advanced cataloging editor. - Acquisitions -> Vendor -> Basket groups. - Tools -> News -> Edit news. - Administration -> System preferences. Revised: I intended for this to be built on top of Bug 15883. Now it is. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> On top of 15883 Works as described, all pages on test plan No Errors Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
15 lines
701 B
HTML
15 lines
701 B
HTML
[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
|
|
[% IF (intranetstylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetstylesheet %]" />
|
|
[% END %]
|
|
|
|
<!-- local colors -->
|
|
[% IF ( intranetcolorstylesheet ) %]
|
|
[% IF (intranetcolorstylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetcolorstylesheet %]" />
|
|
[% END %]
|
|
[% END %]
|