Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44323

Warning at top of assign roles table should be a notification

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to Site administration / ▶ Users / ▶ Permissions / ▶ Assign system roles
      2. Verify that the warning at the top of the page looks sensibly like a warning
      3. Click on a specific role
      4. Verify that the warning at the top of the page looks sensibly like a warning
      Show
      Go to Site administration / ▶ Users / ▶ Permissions / ▶ Assign system roles Verify that the warning at the top of the page looks sensibly like a warning Click on a specific role Verify that the warning at the top of the page looks sensibly like a warning
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-44323-master

      Description

      When assigning roles at the site level:

      moodle/admin/roles/assign.php?contextid=1

      there's a warning message which is just outputted as an anonymous box (div.box.generalbox). It should use the notification('notifyproblem') API so that it actually looks like a warning.

      (There's actually a bunch like this, that you can find because the text string contains the word "warning" but there's no appropriate API used but I wanted a specific bug number to put next to a workaround so people will be able to check and then delete the workaround).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jul/14