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

Add title attribute to core/toggle template

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.0, 4.1
    • Report builder
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      Setup

      1. Run grunt componentlibrary
      2. Login as admin

      Test title label attribute are shown correctly

      1. Navigate to Development > UI Component library in site administration
      2. Navigate to Moodle > Moodle components > Toggle input in component library
      3. Open browser inspector
      4. Confirm that in label element that is inside toggle buttons in "Examples" section contains the "title" attribute. Note: Title attribute and value will be added only when exists in context

      Test component library

      1. Navigate to Development > UI Component library in site administration
      2. Navigate to Moodle > Moodle components > Toggle input in component library
      3. Confirm documentation is correct
      4. Confirm examples work correctly
      Show
      Setup Run grunt componentlibrary Login as admin Test title label attribute are shown correctly Navigate to Development > UI Component library in site administration Navigate to Moodle > Moodle components > Toggle input  in component library Open browser inspector Confirm that in label element that is inside toggle buttons in "Examples" section contains the "title" attribute. Note : Title attribute and value will be added only when exists in context Test component library Navigate to Development > UI Component library in site administration Navigate to Moodle > Moodle components > Toggle input  in component library Confirm documentation is correct Confirm examples work correctly

      In order to improve the core/toggle template add the title attribute.

            carlos.castillo@moodle.com Carlos Castillo
            carlos.castillo@moodle.com Carlos Castillo
            Paul Holden Paul Holden
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 25 minutes
                7h 25m

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