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

            Hide
            jerome Jérôme Mouneyrac added a comment -

            My Moodle (native iOS)
            ======================
            My Moodle is now obsolete and it is not supported anymore: https://moodle.org/mod/forum/discuss.php?d=206758

            Unmaintained repository: https://github.com/moodlehq/mymoodle

            Moodle Mobile (HTML5 iOS/Android/Windows7/...)
            ==============================================
            My Moodle is replaced by Moodle Mobile: http://docs.moodle.org/dev/Moodle_Mobile

            Work in progress: http://tracker.moodle.org/browse/MOBILE-153

            Repository: https://github.com/moodlehq/moodlemobile

            PS: thanks for your report Alexander. I reported this too in my last test phase for the futur HTML5 app. Cheers.

            Show
            jerome Jérôme Mouneyrac added a comment - My Moodle (native iOS) ====================== My Moodle is now obsolete and it is not supported anymore: https://moodle.org/mod/forum/discuss.php?d=206758 Unmaintained repository: https://github.com/moodlehq/mymoodle Moodle Mobile (HTML5 iOS/Android/Windows7/...) ============================================== My Moodle is replaced by Moodle Mobile: http://docs.moodle.org/dev/Moodle_Mobile Work in progress: http://tracker.moodle.org/browse/MOBILE-153 Repository: https://github.com/moodlehq/moodlemobile PS: thanks for your report Alexander. I reported this too in my last test phase for the futur HTML5 app. Cheers.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: