Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
dcf27a9b
Commit
dcf27a9b
authored
May 13, 2014
by
Brian Wilson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release'
parents
209c0d70
d6a74a64
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
49 deletions
+18
-49
cms/static/sass/elements/_modal-window.scss
+0
-4
common/lib/xmodule/xmodule/js/spec/combinedopenended/display_spec.coffee
+1
-1
common/lib/xmodule/xmodule/js/src/problem/edit.coffee
+1
-1
common/lib/xmodule/xmodule/templates/html/grade_me.yaml
+0
-26
lms/envs/common.py
+1
-1
lms/templates/dashboard/_dashboard_certificate_information.html
+1
-4
lms/templates/dashboard/_dashboard_course_listing.html
+2
-2
lms/templates/google_analytics.html
+12
-10
No files found.
cms/static/sass/elements/_modal-window.scss
View file @
dcf27a9b
...
@@ -179,10 +179,6 @@
...
@@ -179,10 +179,6 @@
height
:
365px
;
height
:
365px
;
}
}
&
.modal-type-problem
.CodeMirror
{
height
:
435px
;
}
.wrapper-comp-settings
{
.wrapper-comp-settings
{
.list-input
{
.list-input
{
...
...
common/lib/xmodule/xmodule/js/spec/combinedopenended/display_spec.coffee
View file @
dcf27a9b
...
@@ -81,7 +81,7 @@ describe 'CombinedOpenEnded', ->
...
@@ -81,7 +81,7 @@ describe 'CombinedOpenEnded', ->
expect
(
window
.
setTimeout
).
toHaveBeenCalledWith
(
@
combined
.
poll
,
10000
)
expect
(
window
.
setTimeout
).
toHaveBeenCalledWith
(
@
combined
.
poll
,
10000
)
expect
(
window
.
queuePollerID
).
toBe
(
5
)
expect
(
window
.
queuePollerID
).
toBe
(
5
)
it
'polling stops properly'
,
=>
x
it
'polling stops properly'
,
=>
fakeResponseDone
=
state
:
"done"
fakeResponseDone
=
state
:
"done"
spyOn
(
$
,
'postWithPrefix'
).
andCallFake
(
url
,
callback
)
->
callback
(
fakeResponseDone
)
spyOn
(
$
,
'postWithPrefix'
).
andCallFake
(
url
,
callback
)
->
callback
(
fakeResponseDone
)
@
combined
.
poll
()
@
combined
.
poll
()
...
...
common/lib/xmodule/xmodule/js/src/problem/edit.coffee
View file @
dcf27a9b
...
@@ -109,7 +109,7 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
...
@@ -109,7 +109,7 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
$
(
".CodeMirror"
).
css
({
"overflow"
:
"visible"
})
$
(
".CodeMirror"
).
css
({
"overflow"
:
"visible"
})
$
(
".modal-content"
).
css
({
"overflow-y"
:
"visible"
,
"overflow-x"
:
"visible"
})
$
(
".modal-content"
).
css
({
"overflow-y"
:
"visible"
,
"overflow-x"
:
"visible"
})
else
else
$
(
".CodeMirror"
).
removeAttr
(
"style"
)
$
(
".CodeMirror"
).
css
({
"overflow"
:
"none"
}
)
$
(
".modal-content"
).
removeAttr
(
"style"
)
$
(
".modal-content"
).
removeAttr
(
"style"
)
###
###
...
...
common/lib/xmodule/xmodule/templates/html/grade_me.yaml
deleted
100644 → 0
View file @
209c0d70
---
metadata
:
display_name
:
(Grade Me!) Button
data
:
|
<p>By clicking the button below, you assert that you have completed the course in its entirety.</p>
<input type=button value="Yes, I Agree." id="User_Verify_Button" style="margin-bottom: 20px;" />
<p class="verify-button-success-text" style="font-weight: bold; color: #008200;"></p>
<script type="text/javascript">
var success_message = "Your grading and certification request has been received, <br />if you have passed, your certificate should be available in the next 20 minutes.";
document.getElementById('User_Verify_Button').addEventListener("click",
function(event) {
(function(event) {
var linkcontents = $('a.user-link').contents();
$.ajax({
type: 'POST',
url: '/request_certificate',
data: {'course_id': $$course_id},
success: function(data) {
$('.verify-button-success-text').html(success_message);
}
});
}).call(document.getElementById('User_Verify_Button'), event);
});
</script>
lms/envs/common.py
View file @
dcf27a9b
...
@@ -445,7 +445,7 @@ if FEATURES.get('ENABLE_SQL_TRACKING_LOGS'):
...
@@ -445,7 +445,7 @@ if FEATURES.get('ENABLE_SQL_TRACKING_LOGS'):
})
})
######################## GOOGLE ANALYTICS ###########################
######################## GOOGLE ANALYTICS ###########################
GOOGLE_ANALYTICS_ACCOUNT
=
'GOOGLE_ANALYTICS_ACCOUNT_DUMMY'
GOOGLE_ANALYTICS_ACCOUNT
=
None
GOOGLE_ANALYTICS_LINKEDIN
=
'GOOGLE_ANALYTICS_LINKEDIN_DUMMY'
GOOGLE_ANALYTICS_LINKEDIN
=
'GOOGLE_ANALYTICS_LINKEDIN_DUMMY'
######################## subdomain specific settings ###########################
######################## subdomain specific settings ###########################
...
...
lms/templates/dashboard/_dashboard_certificate_information.html
View file @
dcf27a9b
...
@@ -24,11 +24,8 @@ else:
...
@@ -24,11 +24,8 @@ else:
%
>
%
>
<div
class=
"message message-status ${status_css_class} is-shown"
>
<div
class=
"message message-status ${status_css_class} is-shown"
>
% if cert_status['status'] == 'processing'
and not course.may_certify()
:
% if cert_status['status'] == 'processing':
<p
class=
"message-copy"
>
${_("Final course details are being wrapped up at this time. Your final standing will be available shortly.")}
</p>
<p
class=
"message-copy"
>
${_("Final course details are being wrapped up at this time. Your final standing will be available shortly.")}
</p>
% elif course.may_certify() and cert_status['status'] == 'processing':
<!-- Certification is allowed but no cert requested, or cert unearned -->
<!-- <p class="message-copy">${_("Your final standing is unrequested or unavailable at this time.")}</p> -->
% elif cert_status['status'] in ('generating', 'ready', 'notpassing', 'restricted'):
% elif cert_status['status'] in ('generating', 'ready', 'notpassing', 'restricted'):
<p
class=
"message-copy"
>
${_("Your final grade:")}
<p
class=
"message-copy"
>
${_("Your final grade:")}
<span
class=
"grade-value"
>
${"{0:.0f}%".format(float(cert_status['grade'])*100)}
</span>
.
<span
class=
"grade-value"
>
${"{0:.0f}%".format(float(cert_status['grade'])*100)}
</span>
.
...
...
lms/templates/dashboard/_dashboard_course_listing.html
View file @
dcf27a9b
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<span
class=
"sts-enrollment-value"
>
${_("Honor Code")}
</span>
<span
class=
"sts-enrollment-value"
>
${_("Honor Code")}
</span>
</span>
</span>
% elif enrollment.mode == "audit":
% elif enrollment.mode == "audit":
<span
class=
"sts-enrollment"
title=
"${_("
You
'
re
auditing
this
course
")}
>
<span
class=
"sts-enrollment"
title=
"${_("
You
'
re
auditing
this
course
")}
"
>
<span
class=
"label"
>
${_("Enrolled as: ")}
</span>
<span
class=
"label"
>
${_("Enrolled as: ")}
</span>
<span
class=
"sts-enrollment-value"
>
${_("Auditing")}
</span>
<span
class=
"sts-enrollment-value"
>
${_("Auditing")}
</span>
</span>
</span>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</h3>
</h3>
</hgroup>
</hgroup>
% if course.may_certify() and cert_status
and not enrollment.mode == 'audit'
:
% if course.may_certify() and cert_status:
<
%
include
file=
'_dashboard_certificate_information.html'
args=
'cert_status=cert_status,course=course, enrollment=enrollment'
/>
<
%
include
file=
'_dashboard_certificate_information.html'
args=
'cert_status=cert_status,course=course, enrollment=enrollment'
/>
% endif
% endif
...
...
lms/templates/google_analytics.html
View file @
dcf27a9b
<script
type=
"text/javascript"
>
% if settings.GOOGLE_ANALYTICS_ACCOUNT:
var
_gaq
=
_gaq
||
[];
<script
type=
"text/javascript"
>
_gaq
.
push
([
'_setAccount'
,
'${settings.GOOGLE_ANALYTICS_ACCOUNT}'
]);
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'_trackPageview'
]);
_gaq
.
push
([
'_setAccount'
,
'${settings.GOOGLE_ANALYTICS_ACCOUNT}'
]);
_gaq
.
push
([
'_trackPageview'
]);
(
function
()
{
(
function
()
{
var
ga
=
document
.
createElement
(
'script'
);
ga
.
type
=
'text/javascript'
;
ga
.
async
=
true
;
var
ga
=
document
.
createElement
(
'script'
);
ga
.
type
=
'text/javascript'
;
ga
.
async
=
true
;
ga
.
src
=
(
'https:'
==
document
.
location
.
protocol
?
'https://ssl'
:
'http://www'
)
+
'.google-analytics.com/ga.js'
;
ga
.
src
=
(
'https:'
==
document
.
location
.
protocol
?
'https://ssl'
:
'http://www'
)
+
'.google-analytics.com/ga.js'
;
var
s
=
document
.
getElementsByTagName
(
'script'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
var
s
=
document
.
getElementsByTagName
(
'script'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
})();
</script>
</script>
% endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment