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

Incorrect information in theme/upgrade.txt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: Themes
    • Labels:

      Description

      In MDL-50346 sub-directories in templates were allowed and theme/upgrade.txt was updated.  However it contains inaccurate information as:

      The following are all valid template names and locations in your theme:
        theme_themename/columns2: theme/[themename]/columns2.mustache
        theme_themename/local/layouts/columns2: theme/[themename]/local/layouts/columns2.mustache

      The following are core templates, locations, and override locations in your theme:
        core/modal: lib/templates/modal.mustache => theme/[themename]/core/modal.mustache
       mod_forum/forum_post: mod/forum/templates/forum_post.mustache => theme/[themename]/mod_forum/forum_post.mustache
        mod_forum/local/post/user: mod/forum/templates/local/post/user.mustache => theme/[themename]/mod_forum/local/post/user.mustache

       

      should have the 'templates' sub-folder and therefore be:

      The following are all valid template names and locations in your theme:
        theme_themename/columns2: theme/[themename]/templates/columns2.mustache
        theme_themename/local/layouts/columns2: theme/[themename]/templates/local/layouts/columns2.mustache

      The following are core templates, locations, and override locations in your theme:
        core/modal: lib/templates/modal.mustache => theme/[themename]/templates/core/modal.mustache
        mod_forum/forum_post: mod/forum/templates/forum_post.mustache => theme/[themename]/templates/mod_forum/forum_post.mustache
        mod_forum/local/post/user: mod/forum/templates/local/post/user.mustache => theme/[themename]/templates/mod_forum/local/post/user.mustache

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gb2048 Gareth J Barnard
              Reporter:
              gb2048 Gareth J Barnard
              Integrator:
              Andrew Nicols
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 16 minutes
                  16m