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

Nested panels should get unique identification classes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 8.2-milestone-1
    • Fix Version/s: None
    • Component/s: Panels
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: