Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46576 Implement Natural aggregation
  3. MDL-47007

Make weights display and edit as percentages rather than numbers

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: BACKEND
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a test course of size S.
      2. Navigate to Course administration -> Grades.
      3. Navigate to Grade administration -> Simple view.
      4. Change the Aggregation method to Natural.
        • Observe that the weights fields for each activity is initialized to an even value.
        • Observe that each weight is given as a percentage value.
      5. Change a weight as a percentage (e.g. "25%") and click Save changes.
        • Observe that your change was saved and displayed to you as a percentage value.
      6. Verify the same behaviour on Grade administration -> Full view.
      Show
      Create a test course of size S. Navigate to Course administration -> Grades. Navigate to Grade administration -> Simple view. Change the Aggregation method to Natural. Observe that the weights fields for each activity is initialized to an even value. Observe that each weight is given as a percentage value. Change a weight as a percentage (e.g. "25%") and click Save changes. Observe that your change was saved and displayed to you as a percentage value. Verify the same behaviour on Grade administration -> Full view.
    • Affected Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47007-master
    • Sprint:
      BACKEND Sprint 17

      Description

      preamble

      See https://tracker.moodle.org/browse/MDL-46576 for the code to branch from, unless that issue has already been integrated.
      See the spec at https://docs.moodle.org/dev/Natural_weighting

      notes

      This issue relates to making weights in the sum of grades and user report appear on their respective edit screens show as percentages rather than numbers.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jethac Jetha Chan
              Reporter:
              johno John Okely
              Peer reviewer:
              John Okely John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: