[Koha-bugs] [Bug 9052] YUI assets installed in the wrong place by packages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 14 03:33:13 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9052

--- Comment #7 from Robin Sheat <robin at catalyst.net.nz> ---
We are linking in the system yui libraries, however Koha isn't referencing them
correctly (e.g. skin.css and reset-fonts-grids.css aren't in the same
directory:

robin at debmaker32:/usr/share/koha/opac/htdocs$ find -L -name skin.css -or -name
reset-fonts-grids.css
./opac-tmpl/lib/yui/assets/skins/sam/skin.css
./opac-tmpl/lib/yui/reset-fonts-grids/reset-fonts-grids.css
./opac-tmpl/prog/en/css/skin.css
./opac-tmpl/prog/en/css/reset-fonts-grids.css

The first two are symlinked from libjs-yui, the second two the ones that Koha
bundles.

The Koha version is quite a bit older than the debian version. This may be a
problem, we I'll try it anyway.

Koha is also referencing it badly:

robin at zarathud:~/catalyst/koha/koha-tmpl/opac-tmpl/prog/en$ grep -r skin.css *
includes/doc-head-close.inc:<link rel="stylesheet" type="text/css"
href="/opac-tmpl/lib/yui/skin.css" />
modules/sco/help.tt:<link rel="stylesheet" type="text/css" href="[% yuipath
%]/skin.css" />
modules/sco/sco-main.tt:<link rel="stylesheet" type="text/css" href="[% yuipath
%]/skin.css" />

I think we should be referencing it from the opac.css, that way it's
centralised and it can be re-written as part of the package building process.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list