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

Add CSS classes to distinguish sites for multi-site custom apps

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Minor
    • 4.2.0
    • 4.1.0
    • Others
    • Hide
      1. Enter a site: ie master demo site.
      2. Open the Developer tools and check html tag classes
      3. Class must contain the domain name of the site replacing dots (.) with hyphens . If it has paths: double hyphen in between prefixed with url-:
        ie: http://foo.bar/foo/bar > url-foo-bar-foo-bar
      4. Change site and check the previous domain is not in class names but the new one is.
      Show
      Enter a site: ie master demo site. Open the Developer tools and check html tag classes Class must contain the domain name of the site replacing dots (.) with hyphens . If it has paths: double hyphen in between prefixed with url-: ie: http://foo.bar/foo/bar > url-foo-bar -foo-bar Change site and check the previous domain is not in class names but the new one is.
    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • Moodle App 4.2.0

    Description

      Currently Moodle LMS adds the site URL as a class on the body, we should do the same in the Moodle app to allow to customise differently each site of multi-site custom apps.

      It seems that Moodle LMS replace dots and slashes with "-" (see private comment with an example)

      Attachments

        Issue Links

          Activity

            People

              pferre22 Pau Ferrer
              jleyva Juan Leyva
              Noel De Martin Noel De Martin
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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