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
adc95ba1
Commit
adc95ba1
authored
Sep 16, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change on progress page. Hiding (0/0) on sections that don't have any score.
parent
bdc9e55f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
lms/templates/courseware/progress.html
+5
-1
No files found.
lms/templates/courseware/progress.html
View file @
adc95ba1
...
...
@@ -50,7 +50,11 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph")
%>
<h3><a
href=
"${reverse('courseware_section', kwargs=dict(course_id=course.id, chapter=chapter['url_name'], section=section['url_name']))}"
>
${ section['display_name'] }
</a><span>
${"({0:.3n}/{1:.3n}) {2}".format( float(earned), float(total), percentageString )}
</span></h3>
${ section['display_name'] }
</a>
%if total > 0 or earned > 0:
<span>
${"({0:.3n}/{1:.3n}) {2}".format( float(earned), float(total), percentageString )}
</span>
%endif
</h3>
<p>
${section['format']}
...
...
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