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

Access rules error messages should include as part of the string (variable) the access rule name (instead concatenating it hardcoded)

XMLWordPrintable

    • Hide

      Test only in one device of your choice.

      1. In a Moodle site, Install a quiz accessrule not supported by the app.
      2. Enter the quiz and check message: This quiz can't be attempted in the app because it has access rules not supported by the app is shown with the list of rules.
      3. Add a remote css url that hides the whole message:

        .addon-mod_quiz-unsupported-rules { display: none; }

      4. Test again and check message is not shown.
      5. Change the css to hide only the rules (only one letter change):

        .addon-mod_quiz-unsupported-rule { display: none; }

      6. Test again and check message is shown but the list of unsupported rules not.
      7. You can also hide one rule using: .addon-mod_quiz-unsupported-rule-RULENAME class.
      Show
      Test only in one device of your choice. In a Moodle site, Install a quiz accessrule not supported by the app. Enter the quiz and check message: This quiz can't be attempted in the app because it has access rules not supported by the app is shown with the list of rules. Add a remote css url that hides the whole message: .addon-mod_quiz-unsupported-rules { display: none; } Test again and check message is not shown. Change the css to hide only the rules (only one letter change): .addon-mod_quiz-unsupported-rule { display: none; } Test again and check message is shown but the list of unsupported rules not. You can also hide one rule using: .addon-mod_quiz-unsupported-rule-RULENAME class.
    • MOODLE_400_STABLE
    • Moodle App 4.0

      Access rules error messages should include as part of the string (variable) the access rule name (instead concatenating it hardcoded)

        1. screenshot-1.png
          screenshot-1.png
          117 kB
        2. screenshot-2.png
          screenshot-2.png
          71 kB
        3. screenshot-3.png
          screenshot-3.png
          85 kB

            pferre22 Pau Ferrer
            isabelrenedo Isabel Renedo Rouco
            Dani Palou Dani Palou
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.