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

Apply indentation on the course index

    XMLWordPrintable

Details

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-76992-master
    • Hide

      Manual test to check the UI

      1. As admin create a course with 2 different activities.
      2. Go to the course and turn editing on.
      3. Open the action menu for the first activity. 
      4. Click on 'Move right' action.
      5. Confirm the first activity left margin is bigger in the course index.
      6. Turn edit off.
      7. Confirm the first activity left margin is bigger in the course index.
      8. Turn edit on.
      9. Open the action menu for the first activity. 
      10. Click on 'Move left' action.
      11. Confirm the first activity left margin is the same as the rest of the activities in the course index.
      12. Turn edit off.
      13. Confirm the first activity left margin is the same as the rest of the activities in the course index.
      Show
      Manual test to check the UI As admin create a course with 2 different activities. Go to the course and turn editing on. Open the action menu for the first activity.  Click on 'Move right' action. Confirm the first activity left margin is bigger in the course index. Turn edit off. Confirm the first activity left margin is bigger in the course index. Turn edit on. Open the action menu for the first activity.  Click on 'Move left' action. Confirm the first activity left margin is the same as the rest of the activities in the course index. Turn edit off. Confirm the first activity left margin is the same as the rest of the activities in the course index.
    • 1
    • HQ 2023 Sprint i1.1 Moppies

    Description

      As a teacher
      I want to be able to show the students activity indentation in the course index
      so I could simulate a hierarchy on my course's course index

      • For activities with 'indent' value higher than 0 and when the indentation site setting is enabled, the activity element in the course index will have a bigger margin on the left part as shown in the prototype. Remember for RTL languages the margin should be on the right side, as in 3.11

       

      Note: A backporting request would be raised once this issue is integrated,  so we should try to implement the patch following the rules to be backportable. More information about backporting request: https://moodledev.io/general/development/policies/backporting

      Attachments

        1. boost.gif
          boost.gif
          1.76 MB
        2. classic.gif
          classic.gif
          2.33 MB
        3. mdl-76992.gif
          mdl-76992.gif
          1.71 MB

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              amaia Amaia Anabitarte
              Carlos Escobedo Carlos Escobedo
              Jun Pataleta Jun Pataleta
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 55 minutes
                  4h 55m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.