Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19769

rtl support to YUI treeview icons

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.5
    • Component/s: Libraries
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      there are two contrib blocks that uses the treeview YUI component
      while patching them to work with hebrew and RTL in general...

      i had to add an image file to treeview YUI component that is horizontally mirrored to support RTL
      icons visual display when those Blocks are used in an RTL course.

      currently, there are two ways to workaround/fix/patch this issue.
      1. add a new (horizontally mirrored) gif file the the "assets" folder inside treeview YUI component
      2. add the needed file to the local folder of the Block component that uses the YUI treeview
      and have the CSS file use the correct gif by using styles.php file and not styles.css

      i choose the first option when i fixed the "dir_tree" contrib block and the "yui_course_menu" contrib block
      since i thought it is going to be fix (in the future) by YAHOO adding the rtl support upstream.
      (please correct me if i am wrong)

      dir_tree >> http://moodle.org/mod/data/view.php?rid=1897&page=515
      yui_course_menu >> http://moodle.org/mod/data/view.php?d=13&rid=915

      i am attaching the horizontally mirrored gif.
      it should go into "moodle/lib/yui/treeview/assets"

        Attachments

          Activity

            People

            • Assignee:
              moodle.com moodle.com
              Reporter:
              nadavkav Nadav Kavalerchik
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/09