Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-15769

Make 'My Active Sites' always display, even if there is no site overflow

    Details

    • Type: Feature Request
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.6, 2.6.2, 2.7.0
    • Fix Version/s: 2.9.0, 10.0
    • Component/s: OSP: Portal, Portal
    • Labels:
      None
    • 2.9 Status:
      Resolved
    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      This cannot be tested unless the property is switched.
      To test: set this property
      portal.always.display.active_sites=true

      Login with a user that doesn't have many sites (Or no sites) and you'll see the dropdown.for more sites as empty.

      Show
      This cannot be tested unless the property is switched. To test: set this property portal.always.display.active_sites=true Login with a user that doesn't have many sites (Or no sites) and you'll see the dropdown.for more sites as empty.

      Description

      Right now if a user does not have an overflow of site tabs, the "My Active Sites" tab is not shown.

      I'm requesting that this be shown either way, as it contains instructions notifying instructors that they may have hidden some sites. Otherwise this would not be available.

      I've attached a patch of our implementation of this for 2.5.2, and XSL-Portal. There is a snip of javascript that ensures that the drop-down width doesn't get too small, and makes sure it does not scroll off the screen to the left if there aren't many sites. The other chunk is for XSL Portal to always display the tab, regardless of overflow status.

      Could there be a sakai.property such as 'portal.moresites.alwaysdisplay' that toggles this activity?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  branden Branden Visser
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code