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

Add config option to hide/show additional worksite setup creation links

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1, 2.9.0
    • Fix Version/s: 10.0
    • Component/s: Site Info
    • Labels:
      None
    • Property addition/change required:
      Yes

      Description

      When creating a new course work site, the user is presented with links that allow them to create any course they want: 'Still cannot find your course/section?', 'Add course(s) and/or section(s) not listed above...'.
      This patch provides the ability to hide/show these links based on a configuration property in sakai.properties.

      To replicate this issue:
      1) Log in as a user that has permissions to create a work site (course site)
      2) Click 'Worksite Setup'
      3) Click 'New'
      4) Select 'course site'
      5) Select a term from the drop down list
      6) Click 'Continue'
      7) Notice on this page, right above the continue/back/cancel buttons there is a link titled 'Still cannot find your course/section?'

      The properties introduced by this patch are "worksiteSetup.omitSiteCreateLink" and "worksiteSetup.omitCourseSectionLink". Valid values are "true" and "false", where true will hide the links, and false will show them as normal. If the properties are not found, or an invalid value is provided, it defaults to original functionality (links are shown as normal).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  zqian Zhen Qian
                  Reporter:
                  bjones86 Brian Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code