edx-modulestore
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -243,6 +243,21 @@ 'use strict'; | ||
// Course administration link (Studio) | ||
studioLink: { | ||
get: function () { | ||
if (!this.id || !this.options.studioUrl) { | ||
return null; | ||
} | ||
return [ | ||
this.options.studioUrl, | ||
'course', | ||
this.id | ||
].join('/'); | ||
} | ||
}, | ||
// Course about page link (LMS) | ||
aboutPage: { | ||
get: function () { | ||
if (!this.id) { | ||
if (!this.id || !this.options.lmsUrl) { | ||
return null; | ||
@@ -265,3 +280,3 @@ } | ||
if (!image) { | ||
if (!image || !this.options.lmsUrl) { | ||
return null; | ||
@@ -268,0 +283,0 @@ } |
{ | ||
"name": "edx-modulestore", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Easy browsing of Open edX modulestores", | ||
@@ -5,0 +5,0 @@ "author": "Bertrand Marron", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36761
1138