http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4048
Owen Leonard <oleon...@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #9 from Owen Leonard <oleon...@myacpl.org> --- Yet another updated branch here: http://gitorious.org/koha-dev/koha-dev/commits/ip-bug-4048-css-js-libs-2012-04-24 Revised commit message: This patch is an attempt to tackle Bug 4048 in a more incremental way. As suggested by Paul, this patch leaves in place a copy of the CSS and JS files in their original location to allow full implementation to be gradual. 1. Template.pm has been modified to pass an "interface" variable to the templates so that references to [% themelang %] can be replaced with [% interface %]/[% theme %] ("intranet-tmpl/prog") where appropriate. 2. The staff client's css, js, and lib directories have been 'git mv'ed to intanet-tmpl/prog where the img directory is. 'git mv' was used to preserve the git history of the files which are in their correct location. 3. The staff client's css, js, and lib directories have been copied back to their original location in order to provide a fallback as we make corrections to individual templates. These files have lost their git history, but will ultimately be deleted anyway. 4. The staff client's primary document header include files have been updated with the new paths. These are the files that define the paths to all the core CSS and JS files. 5. Relative image paths in the moved CSS files have been corrected to point to the right directory. TO TEST: After applying the patch, look at any page in the staff client. If the CSS paths are correct everything should look normal. View source to confirm that core assets are being pulled from the new location. If you use Firefox and have Firebug enabled it should report no "NetworkError: 404" errors. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/