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

Nested panels should get unique identification classes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 8.2-milestone-1
    • Panels
    • None
    • Unknown

    Description

      Panels provide an identification class for styling purposes. Example:

      <div class="panel expanded MyRecentModifications">
      ...
      </div>
      

      In case of nested panels the identification class is WebHome. This will be shared by all the panels created inside nested pages, making this class useless for styling.

      <div class="panel expanded WebHome">
        <h1 class="xwikipaneltitle">Tips</h1>
        ...
      </div>
      <div class="panel expanded WebHome">
        <h1 class="xwikipaneltitle">Need help?</h1>
        ...
      </div>
      

      Before we used the Page Name as class.

      Attachments

        Issue Links

          Activity

            People

              evalica Ecaterina Moraru (Valica)
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: