Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12408

Extract the hierarchy macros in a separate template to allow reusing them in the UI

    XMLWordPrintable

Details

    • Unknown
    • N/A

    Description

      Right now, hierarchy.vm contains both the hierarchy macros and their call, making it impossible to reuse the macros regardless of the other code inside hierarchy.vm.

      The proposal is to extract these macros in hierarchy_macros.vm and have hierarchy.vm include it. This way, another template might include hierarchy_macros.vm and call the macros depending on its usecase.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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