Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1139

Do not show the grades option if grades are disabled for a course

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Grades add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test in Moodle 2.9

      1. Enable grades on some courses and disable them on some others.
      2. In the app, check that the grades addon is only shown on the courses with grades enabled (both in courses list and in user profile).

      Test in Moodle 2.8 without local_mobile

      1. Enable grades on some courses and disable them on some others.
      2. In the app, check that the grades addon is shown in all the courses.
      Show
      Test in Moodle 2.9 Enable grades on some courses and disable them on some others. In the app, check that the grades addon is only shown on the courses with grades enabled (both in courses list and in user profile). Test in Moodle 2.8 without local_mobile Enable grades on some courses and disable them on some others. In the app, check that the grades addon is shown in all the courses.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      Since 2.9 get_users_courses returns a "showgrades" fields that tells if grades are enabled for a certain course.

      We should disable the grades option for the specific course in the app

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Juan Leyva
            Tester:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Aug/15