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

Indent "Save and return to course", "Save and display" and "Cancel" as other elements

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.4, 3.10.1, 3.11, 4.0
    • 4.0
    • Themes
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-70853-311
    • MDL-70853-master
    • Hide

      Test in Classic and Boost
      Check for an form with collapsible sections.

      1. As teacher add an activity to a course.
      2. Verify the "Save and return to course", "Save and display" and "Cancel" buttons on the bottom are nicely aligned (You might have to expand the sections above).

      Check for an form with non-collapsible sections.

      1. As admin, go to Site administration → Development → Purge caches.
      2. Verify both the "Purge all caches" and "Purge cache" buttons are nicely aligned.

      Show
      Test in Classic and Boost Check for an form with collapsible sections. As teacher add an activity to a course. Verify the "Save and return to course", "Save and display" and "Cancel" buttons on the bottom are nicely aligned (You might have to expand the sections above). Check for an form with non-collapsible sections. As admin, go to Site administration → Development → Purge caches. Verify both the "Purge all caches" and "Purge cache" buttons are nicely aligned.

    Description

      I'm looking at automated tests running from time to time and each time it strikes me that those buttons are not aligned.
      I thought about doing something to get those aligned.

      To reproduce:

      Insert an activity.
      In the settings

      WHAT YOU EXPECT
      The "Save and return to course", "Save and display" and "Cancel" buttons are nicely aligned

      WHAT ACTUALLY HAPPENS
      The "Save and return to course", "Save and display" and "Cancel" buttons are indented to the right (in LTR languages)

      Attachments

        1. MDL-70853_Test Passed.png
          91 kB
          Gladys Basiana
        2. MDL-70853.png
          220 kB
          Luca Bösch
        3. MDL-70853-master-non-collapible.png
          251 kB
          Luca Bösch
        4. Screenshot 2021-05-19 at 08.54.45.png
          161 kB
          Bas Brands

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              lucaboesch Luca Bösch
              Bas Brands Bas Brands
              Andrew Lyons Andrew Lyons
              Gladys Basiana Gladys Basiana
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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