My last merge wasn't fast enough
This commit is contained in:
@@ -108,7 +108,7 @@ $(function() {
|
|||||||
%>
|
%>
|
||||||
|
|
||||||
<h3><a href="${reverse('courseware_section', args=format_url_params([chapter['course'], chapter['chapter'], section['section']])) }">
|
<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']}
|
${section['subtitle']}
|
||||||
%if 'due' in section and section['due']!="":
|
%if 'due' in section and section['due']!="":
|
||||||
due ${section['due']}
|
due ${section['due']}
|
||||||
@@ -118,7 +118,7 @@ $(function() {
|
|||||||
<ol class="scores">
|
<ol class="scores">
|
||||||
${ "Problem Scores: " if section['graded'] else "Practice Scores: "}
|
${ "Problem Scores: " if section['graded'] else "Practice Scores: "}
|
||||||
%for score in section['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
|
%endfor
|
||||||
</ol>
|
</ol>
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ $(function () {
|
|||||||
color: colors[${sectionIndex}].toString(),
|
color: colors[${sectionIndex}].toString(),
|
||||||
});
|
});
|
||||||
ticks = ticks.concat( [ [${tickIndex}, "${section['totallabel']}"] ] );
|
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 %>
|
<% tickIndex += 1 + sectionSpacer %>
|
||||||
|
|
||||||
%else: ##This is for sections like midterm or final, which have no smaller components
|
%else: ##This is for sections like midterm or final, which have no smaller components
|
||||||
|
|||||||
Reference in New Issue
Block a user