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

Remove default title from navigation items

XMLWordPrintable

    • MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide
      • Open a course page
      • Inspect a navigation item
        • Confirm that anchor does not have a title attribute
      • Edit /course/renderer.php
        • find function add_modchoosertoggle()
        • after the modchoosertoggle has been defined add:

          $modchoosertoggle->title = 'MDL-37574'
          

      • refresh the course page
      • turn on editing mode
      • inspect the 'Activity chooser on/off' toggle in the Settings block
        • *confirm that the anchor has a title of 'MDL-37574'
      Show
      Open a course page Inspect a navigation item Confirm that anchor does not have a title attribute Edit /course/renderer.php find function add_modchoosertoggle() after the modchoosertoggle has been defined add: $modchoosertoggle->title = 'MDL-37574' refresh the course page turn on editing mode inspect the 'Activity chooser on/off' toggle in the Settings block *confirm that the anchor has a title of ' MDL-37574 '

      Clicking on activity chooser change text from "Activity chooser on" to "Activity chooser off" but Title and alt-text remains "Activity chooser on"

      Steps to reproduce:

      1. Login as admin
      2. Turn enableajax on (Home ► Site administration ► Appearance ► AJAX and Javascript)
      3. Select a course and turn editing on
      4. Click on Activity chooser, you will see text changing but title and alt-text remain same.

            dobedobedoh Andrew Lyons
            rajeshtaneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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