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

In a newly created quiz, prevent "Edit quiz" and "Back to the course" buttons sticking together

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.3, 3.10, 3.11
    • Fix Version/s: 3.11
    • Component/s: Quiz
    • Testing Instructions:
      Hide
      1. Test in Boost and Classic.
      2. As teacher, create a course.
      3. Add a quiz to that course.
      4. Go to that quiz.
      5. Verify the "Edit quiz" and "Back to the course" are vertically divided. The "No questions have been added yet" message, which is no more an error but a warning message (yellow instead of red before, and non dismissable) now and the "Edit quiz" button are in a card (verifiable by the border).
        The "Back to the course" button follows thereafter.

      Show
      Test in Boost and Classic. As teacher, create a course. Add a quiz to that course. Go to that quiz. Verify the "Edit quiz" and "Back to the course" are vertically divided. The "No questions have been added yet" message, which is no more an error but a warning message (yellow instead of red before, and non dismissable) now and the "Edit quiz" button are in a card (verifiable by the border). The "Back to the course" button follows thereafter.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
      MDL-70562-311
    • Pull Master Branch:
      MDL-70562-master

      Description

      The centered "Edit quiz" and the "Back to the course" buttons do stick together since they have no horizontal padding.

      To reproduce:

      1. As teacher, create a course.
      2. Add a quiz to that course.
      3. Go to that quiz.

      WHAT YOU EXPECTED: Two buttons which are visually divided into two.
      WHAT ACTUALLY HAPPENS: The centered "Edit quiz" and the "Back to the course" buttons do stick together.

        Attachments

        1. MDL-70562.jpg
          MDL-70562.jpg
          25 kB
        2. MDL-70562-after.png
          MDL-70562-after.png
          71 kB
        3. MDL-70562-before.png
          MDL-70562-before.png
          68 kB

          Activity

            People

            Assignee:
            lucaboesch Luca Bösch
            Reporter:
            lucaboesch Luca Bösch
            Peer reviewer:
            Tim Hunt Tim Hunt
            Integrator:
            Jun Pataleta Jun Pataleta
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/May/21

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m