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
d13509e6
Commit
d13509e6
authored
Nov 26, 2012
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding percentage formatting for final grade reporting
parent
4e4a29e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lms/templates/dashboard.html
+3
-2
No files found.
lms/templates/dashboard.html
View file @
d13509e6
...
...
@@ -248,8 +248,9 @@
this time. Your final standing will be available shortly.
</p>
% elif cert_status['status'] in ('ready', 'notpassing'):
<p
class=
"message-copy"
>
Your final grade:
<span
class=
"grade-value"
>
${cert_status['grade']}
</span>
,
grade required for certificate: ${course.lowest_passing_grade}.
</p>
<span
class=
"grade-value"
>
${"{0:.0f}%".format(float(cert_status['grade'])*100)}
</span>
,
grade required for certificate:
<span
class=
"grade-value"
>
${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}
</span>
.
</p>
% endif
% if cert_status['show_disabled_download_button'] or cert_status['show_download_url'] or cert_status['show_survey_button']:
...
...
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