From 06a7a5099a69e3c3d122999b1b490a4957d77ba5 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 9 Mar 2015 11:58:27 +0100 Subject: [PATCH] Display Pivotal Education related courseware This change adds a new "Related Courseware" section in the side container; this section lists links to courses and talks that are relevant to the current project page. Relevant content is fetched by the browser, with an AJAX request sent to the Pivotal Education LMS API. This API uses the Referrer HTTP header as input parameter to its content selection algorithm. Note that CORS HTTP headers are also used to allow/disallow AJAX cross domain requests. --- _includes/widget_templates.html | 20 ++++++++++++++ js/projectDocumentationWidget.js | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/_includes/widget_templates.html b/_includes/widget_templates.html index 4e609c6fff..1495ae53dd 100644 --- a/_includes/widget_templates.html +++ b/_includes/widget_templates.html @@ -29,6 +29,26 @@ + +