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
7e64a746
Commit
7e64a746
authored
Mar 01, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
6446972d
f0e2b600
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
profile.html
+2
-2
profile_graphs.js
+1
-1
No files found.
profile.html
View file @
7e64a746
...
...
@@ -108,7 +108,7 @@ $(function() {
%>
<h3><a
href=
"${reverse('courseware_section', args=format_url_params([chapter['course'], chapter['chapter'], section['section']])) }"
>
${ section['section'] }
</a>
${"({0}/{1
}) {2}".format( earned, total, percentageString )}
</h3>
${ section['section'] }
</a>
${"({0:g}/{1:g
}) {2}".format( earned, total, percentageString )}
</h3>
${section['subtitle']}
%if 'due' in section and section['due']!="":
due ${section['due']}
...
...
@@ -118,7 +118,7 @@ $(function() {
<ol
class=
"scores"
>
${ "Problem Scores: " if section['graded'] else "Practice Scores: "}
%for score in section['scores']:
<li
class=
"score"
>
${
score[0] }/${ score[1]
}
</li>
<li
class=
"score"
>
${
"{0:g}/{1:g}".format(score[0],score[1])
}
</li>
%endfor
</ol>
%endif
...
...
profile_graphs.js
View file @
7e64a746
...
...
@@ -58,7 +58,7 @@ $(function () {
color
:
colors
[
$
{
sectionIndex
}].
toString
(),
});
ticks
=
ticks
.
concat
(
[
[
$
{
tickIndex
},
"${section['totallabel']}"
]
]
);
detail_tooltips
[
"${section['category']}
Average
"
]
=
[
"${section['totalscore']['summary']}"
];
detail_tooltips
[
"${section['category']}
Total
"
]
=
[
"${section['totalscore']['summary']}"
];
<%
tickIndex
+=
1
+
sectionSpacer
%>
%
else
:
##
This
is
for
sections
like
midterm
or
final
,
which
have
no
smaller
components
...
...
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