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

'Quick Publish' option for sites

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0
    • Component/s: Portal
    • Labels:
      None

      Description

      Allow the '! Unpublished Site' badge that is shown at the top of the tool menu to be a link so that when the instructor clicks on it, the course gets published.

      We've inserted this link with xsl-portal and I've attached a screenshot of what it looks like.

      At it's most basic, the js that makes this work is:

      function publishSite(siteId) {
      var reqUrl = '/direct/batch?_refs=/direct/site/'siteId'/edit&_method=PUT';
      var resp = $.ajax({
      type: 'POST',
      data: 'published=true',
      url: reqUrl,
      success: function()

      { location.reload(); }

      }).responseText;
      }

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                csev Charles Severance
                Reporter:
                nicola@nyu.edu Nicola Monat-Jacobs
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration