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

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

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            jerome Jérôme Mouneyrac
            Reporter:
            abias Alexander Bias
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: