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

Add language data attributes to langmenu items

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Navigation, Themes
    • Labels:
    • Testing Instructions:
      Hide
      1. Add at least two languages to your Moodle system
      2. Use Clean or More themes (based on bootstrapbase)
      3. From the frontpage, open the language menu from the main toolbar
      4. "Inspect element" of either language menu items, and make sure they have a data-lang attribute with "two_English_letters_langcode" and that the current selected language have another attribute: data-current-lang=1
      Show
      Add at least two languages to your Moodle system Use Clean or More themes (based on bootstrapbase) From the frontpage, open the language menu from the main toolbar "Inspect element" of either language menu items, and make sure they have a data-lang attribute with "two_English_letters_langcode" and that the current selected language have another attribute: data-current-lang=1
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55250_master

      Description

      While trying to make some user UI tutorials/tours (using local_usertour) I find a need to have relevant classes for each of the languages (menu items) in the langmenu.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nadavkav Nadav Kavalerchik
              Reporter:
              nadavkav Nadav Kavalerchik
              Peer reviewer:
              Ryan Wyllie
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: