[Koha-bugs] [Bug 27072] Don't process staff interface CSS with rtlcss

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 23 15:17:35 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27072

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 113925
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113925&action=edit
Bug 27072: Don't process staff interface CSS with rtlcss

This patch changes Koha's gulpfile to add a check for the "OPAC" context
before using rtlcss to automatically build right-to-left versions of
CSS.

To test, apply the patch and test the process of building CSS for both
the OPAC and staff client:

- "yarn css --view opac" : This should build unminified CSS for the
    OPAC, including map files in bootstrap/css/maps

- "yarn build --view opac" : This should build minified CSS for the
  OPAC and generate the RTL versions.

- "yarn css" : This should build unminified CSS for the staff
  interface, including map files in prog/css/maps.

- "yarn build" : This should build minified CSS for the
   staff interface, with no creation of RTL versions.

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


More information about the Koha-bugs mailing list