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

Mustache templates which are 'partials' should not show up in template library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.2
    • HTML and CSS
    • None
    • MOODLE_32_STABLE

      There are some templates which are partials and so can't show up properly in the template library without the surrounding context, or being included in their parent.

      e.g. blocks/rss_client/templates/item.mustache

      We could do with a way to indicate that these templates should:
      a) Not show up in the template library
      b) Not be expected to be valid html by cibot

      Perhaps we could add some metadata such as 'this partial is part of x template' to achieve that, or any other ideas.

            Unassigned Unassigned
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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