gjbarnard / moodle-format_grid

Grid course format contributed by Gareth J Barnard originally created by Paul Krix
GNU General Public License v3.0
21 stars 55 forks source link

Previous/Next section arrows are incorrect for RTL languages #183

Closed acquaalta closed 1 year ago

acquaalta commented 1 year ago

Hi, It seems that the Previous/Next section arrows in the new Moodle 4 Grid format plugin, are incorrect in Right-to-left (RTL) mode. The next section arrow is pointing to the right instead of to the left, and the previous section arrow is pointing to the left instead of to the right.

Steps to reproduce the behaviour:

  1. Enter a course that uses the Grid course format.
  2. Switch to RTL mode.
  3. Enter a section.

Expected behaviour In RTL mode, the next section arrow should point to the left while the previous section arrow should point to the right.

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

M4_GridFormat_RTL_SectionsArrows