Uploaded image for project: 'Moodle Mobile'
  1. Moodle Mobile
  2. MOBILE-130

Button "Add a note" should be hidden when notes are disabled

    Details

    • Affected Branches:
      MOODLE_10_STABLE

      Description

      Even if $CFG->enablenotes is set to false in moodle config or the user doesn't have the capability moodle/notes:manage, the "Add a note" button is shown in a participants page in mobile moodle. If the user clicks on this button, a rather ugly error is shown:

      XMLRPC Error
      "Notes are not allowed" (translated from german error text, don't know the exact english error text)

      I think the button should be hidden when the user isn't allowed to add notes.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: