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

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--- Comment #4 from Owen Leonard <[email protected]> 2012-02-24 20:24:05 UTC 
---
Even without trying to change everything in one go these changes are too large
to be attached as a patch. The updated branch is here:

http://gitorious.org/koha-dev/koha-dev/commits/ip-bug-4048-js-css-libs-path-2012-02-24

Here's the 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 copied
       to intanet-tmpl/prog where the img directory is.

    3. 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.

    4. 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.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to