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

Activity completion does not look ok in RTL mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development in progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1, 3.3, 3.11.3
    • Fix Version/s: None
    • Component/s: Reports, Themes
    • Affected Branches:
      MOODLE_311_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58044_master
    • Workaround:
      Hide

      Apply suggested CSS code in the admin > appearance > additional HTML "Before BODY is closed" field.

       

      <style>
      #page-report-progress-index.dir-rtl .rotated-text {
          display: block;
          height: 15rem;
          transform: translate(50%,100%) rotate(90deg);
          transform-origin: 100% 0;
      }
      </style>
      

       

      Show
      Apply suggested CSS code in the admin > appearance > additional HTML "Before BODY is closed" field.   <style> #page-report-progress-index.dir-rtl .rotated-text { display: block; height: 15rem; transform: translate( 50 %, 100 %) rotate(90deg); transform-origin: 100 % 0 ; } </style>  
    • Difficulty:
      Moderate
    • Testing Instructions:
      Hide
      1. Switch to any RTL language (Hebrew, Arabic,...)
      2. Navigate to course completion report
      3. Make sure table header labels a properly aligned as seen in the screen capture 
      Show
      Switch to any RTL language (Hebrew, Arabic,...) Navigate to course completion report Make sure table header labels a properly aligned as seen in the screen capture 

      Description

      This was detected while integrating MDL-57527 and problems were already existing before it.

      Basically (checked for 32_STABLE and master, not verified for earlier versions):

      • Vertical texts do not rotate properly, specially master, after MDL-57527.
      • RTL mode is completely non-functional, with student names well hidden behind the blocks, missing scroll bars if there are many activities....

      So this is about to get the report perfectly working under both clean and boost in RTL mode, specifically for 32_STABLE and master (note that MDL-57527 made master RTL to look worse than 32_STABLE one).

      Raising the priority of this because it's affecting stables, and should guarantee the report to be be workig perfectly there.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nadavkav Nadav Kavalerchik
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              Mathew May Mathew May
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m