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
32f76592
Commit
32f76592
authored
Feb 25, 2014
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Evergreen Conditionals to show cert information
parent
32a84e57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
lms/templates/dashboard/_dashboard_certificate_information.html
+1
-3
lms/templates/dashboard/_dashboard_course_listing.html
+2
-2
No files found.
lms/templates/dashboard/_dashboard_certificate_information.html
View file @
32f76592
...
@@ -14,9 +14,7 @@ else:
...
@@ -14,9 +14,7 @@ else:
%
>
%
>
<div
class=
"message message-status ${status_css_class} is-shown"
>
<div
class=
"message message-status ${status_css_class} is-shown"
>
% if course.may_certify() and cert_status['status'] == 'processing':
% if cert_status['status'] == 'processing':
<p
class=
"message-copy"
>
${_("Your final standing is unrequested or unavailable at this time.")}
</p>
% elif 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 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:")}
...
...
lms/templates/dashboard/_dashboard_course_listing.html
View file @
32f76592
...
@@ -57,8 +57,8 @@
...
@@ -57,8 +57,8 @@
</h3>
</h3>
</hgroup>
</hgroup>
% if
course.may_certify() and cert_status and not enrollment.mode == 'audit'
:
% if
(course.may_certify() and cert_status and (cert_status['status'] != 'processing')) or (course.has_ended() and cert_status and (not enrollment.mode == 'audit'))
:
<
%
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
% if course_mode_info['show_upsell']:
% if course_mode_info['show_upsell']:
...
...
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